Skill 4.3.5

Migrating database schemas and data to different locations and/or different database engines

Key Concepts

AWS Database Migration Service (DMS) copies data from a source to a target while the source stays online, then keeps them in sync with change data capture (CDC) until cutover, minimising downtime. It supports homogeneous and heterogeneous migrations and runs on replication instances or DMS Serverless.

For heterogeneous migrations, convert schema, views and stored procedures with DMS Schema Conversion or the AWS Schema Conversion Tool (SCT) first. For homogeneous migrations, native tools (mysqldump, pg_dump, native backup/restore for SQL Server, Percona XtraBackup to Aurora MySQL) can be simpler.

For very large databases with limited bandwidth, SCT data extraction agents can load data onto Snowball Edge devices. DMS can also replicate continuously to other Regions or to S3 and Kinesis for analytics.