Database Migrations
Migrating Databases
Migrating your database to the cloud provides an opportunity to redesign and improve your database architecture. You might also consider migrating to an AWS managed database service or an open source database to reduce licensing costs.
Database Migrations Video
W3schools.com collaborates with Amazon Web Services to deliver digital training content to our learners.
Same Engine vs Different Engine
Migrating to the same database engine (e.g., MySQL to Amazon RDS for MySQL) is straightforward.
Migrating to a different engine (e.g., Oracle to Amazon Aurora PostgreSQL) is more complex and may require application changes.
AWS calls these homogeneous (same engine) and heterogeneous (different engine) migrations.
AWS provides services to help with both types.
AWS Database Migration Service (AWS DMS)
AWS DMS makes it possible to quickly and securely migrate databases and perform ongoing data replication tasks for live databases and data warehouses.
It provides a way to plan, assess, convert, and migrate databases even with data warehouses in one central tool.
Benefits
- Maintain high availability and low downtime during the migration process
- Supports migrations to same or different database engines
- Migrate terabyte sized databases at a low cost
Use Cases
- Move to managed databases
- Remove licensing costs
- Replicate ongoing changes in your database
- Improve integration with data lakes
AWS Schema Conversion Tool (AWS SCT)
When migrating to a different database engine (heterogeneous migration), you need to recreate database schemas in the target. A schema defines the structure and organization of data, including table structures, field types, and relationships.
AWS SCT converts database schemas and code objects (like stored procedures, views, and functions) from one database engine to another. It can also estimate the effort required for a conversion, which helps with planning.
Benefits
- Simplify database migrations by automating schema analysis, recommendations, and conversion at scale
- Compatible with popular databases and analytics services as source and target engines
- Save weeks or months of manual time and resources
Use Cases
- Move from commercial databases to open source databases
- Migrating large data warehouse workloads
- Modernize or update database schemas in place