Migrating Databases with AWS DMS and Schema Conversion
This lesson explains how AWS DMS moves databases to AWS with minimal downtime, and how schema conversion handles engine changes.
Learning outcomes
After completing this lesson, you will be able to:
- Describe how DMS replicates data.
- Distinguish homogeneous from heterogeneous migrations.
- Describe a typical cutover with full load and CDC.
AWS DMS
AWS Database Migration Service (DMS) replicates data from a source database, on premises, on EC2, in RDS or in another cloud, to a target such as RDS, Aurora, DynamoDB, S3, Redshift, OpenSearch or Kinesis, while the source keeps running. It runs on replication instances, optionally Multi-AZ, or as DMS Serverless, which sizes capacity automatically.
A task performs one of three kinds of migration. A full load copies the existing data once, which suits a one-off copy when the source can be stopped. A full load with change data capture (CDC) copies the existing data and then keeps applying changes made to the source, so the application can be switched to the target with only minutes of downtime. CDC only replicates ongoing changes, for continuous replication between databases. The following table summarises the types.
| Migration type | Use for |
|---|---|
| Full load | One-off copy |
| Full load with CDC | Cutover with minimal downtime |
| CDC only | Ongoing replication |
Which DMS migration type?
Homogeneous or heterogeneous
Whether the source and target use the same database engine decides how much work a migration needs. A homogeneous migration, such as MySQL to RDS for MySQL, needs no schema conversion: the schema, procedures and data types are the same, and DMS homogeneous migrations use the engine's native tools.
A heterogeneous migration, such as Oracle to Aurora PostgreSQL or SQL Server to MySQL, needs the schema converted first: tables, views, stored procedures and functions must be rewritten for the new engine. DMS Schema Conversion or the AWS Schema Conversion Tool (SCT) converts what it can automatically and flags what needs manual work, and DMS then moves the data. The following table summarises the two types.
| Migration | Example | Tools |
|---|---|---|
| Homogeneous | MySQL to RDS for MySQL | No schema conversion; DMS homogeneous migrations use native tools |
| Heterogeneous | Oracle to Aurora PostgreSQL, SQL Server to MySQL | DMS Schema Conversion or SCT convert schemas, views, procedures and functions, flagging manual work |
Very large databases over slow links: SCT extraction agents load Snowball Edge, then DMS applies ongoing changes. Snowball Edge is offered only to existing customers since November 2025, so new projects load the bulk over a faster network link or AWS Data Transfer Terminal instead.
A typical cutover
A database migration with AWS DMS keeps the source running until a short, planned cutover. DMS first runs the full load, copying existing data, and then keeps change data capture (CDC) running until the target has caught up with ongoing changes; DMS data validation confirms that source and target match.
At cutover, writes to the source are stopped briefly while CDC applies the last changes, and the application is then pointed at the target. Throughout, the replication instance needs network connectivity to both databases, through a VPN or Direct Connect for on-premises sources, and enough memory and storage to cache changes while the full load runs.
The following diagram shows the migration on a timeline.

A DMS cutover
Oracle to Aurora PostgreSQL with little downtime
A heterogeneous migration with minimal downtime proceeds through several steps. The following table identifies the tool used at each step.
| Step | Tool |
|---|---|
| Convert the schema, views and stored procedures | AWS Schema Conversion Tool or DMS Schema Conversion |
| Copy existing data while Oracle stays live | AWS DMS full load |
| Keep copying changes until cutover | DMS change data capture (CDC) |
| Check the data matches | DMS data validation |
| Switch the application | A short maintenance window once CDC has caught up |
Downtime is limited to the final switch. Moving to Aurora PostgreSQL also removes Oracle licence costs, which is often the main business reason for this kind of heterogeneous migration.
What does change data capture (CDC) add to a DMS migration?
Show answer
Ongoing replication of changes after the full load, so the source stays in use until a short cutover.
Exam Tips
Remember for the exam
- To migrate a database with minimal downtime, use DMS full load with CDC.
- When the source and target engines differ, use schema conversion (SCT or DMS Schema Conversion) with DMS.
- For continuous replication from on premises to AWS for analytics, use DMS CDC to S3 or Redshift.
- To verify that data matches after migration, use DMS data validation.
- For a cutover with minimal downtime, keep CDC running until the target catches up, then switch.