AWS Certified Solutions Architect – Professional
AWS DMS vs DMS Schema Conversion: full load and CDC (SAP-C03)
The AWS DMS guide says DMS Schema Conversion converts schemas and code objects, not data, and that AWS DMS tasks then move the data, once or with ongoing replication. For a different target engine, convert first, then run full load plus CDC. For the same engine, a homogeneous data migration uses native database tools.
Which part of DMS converts the schema and which moves the data?
At a basic level, AWS DMS is a server in AWS that runs replication software. You define a source and a target connection and run a task that moves the data. A task creates the target tables and their primary keys if they are missing. For indexes, views, triggers and code, the guide points to DMS Schema Conversion or to tables you create yourself.
DMS Schema Conversion works in a migration project that joins a source data provider, a target data provider and an instance profile, with database credentials held in AWS Secrets Manager. Its assessment report shows what converts automatically and what needs manual work, so you can estimate the effort before you commit. It then converts tables, views, stored procedures and functions, and you apply the converted code to the target or export it as SQL scripts.
It does not move data. It is a managed, web-based feature built on the AWS Schema Conversion Tool (AWS SCT) engine, and AWS SCT remains a downloadable alternative. Supported paths include Oracle, SQL Server, IBM Db2 for LUW and SAP ASE to Aurora PostgreSQL or RDS for PostgreSQL.
Full load plus CDC
DMS has two kinds of ongoing replication task. Full load plus CDC migrates the existing data and then keeps applying changes from the source. CDC only applies changes when the data is already on the target. The source stays in use during a long copy, and the outage at cutover only has to cover the last changes and the switch.
Change data capture (CDC) reads the source engine's transaction logs through the engine's native API. Most engines need extra setup first. Oracle needs supplemental logging and MySQL needs row-level binary logging.
CDC is not real time. AWS gives no SLA for its latency, which can reach several minutes or more depending on source load, network, replication resources and the target. Views migrate only in a full-load-only task; a task that includes CDC migrates tables only.
Homogeneous data migrations
A homogeneous data migration is for a like-to-like move, such as on-premises PostgreSQL to Aurora PostgreSQL. DMS uses the engine's native tools, runs the migration in a serverless environment and scales it for you. It migrates data plus secondary objects such as functions, stored procedures and partitions. It supports full load, ongoing replication, or both.
The limitations matter at scale. Schema-level changes during ongoing replication are captured only for MySQL. On other engines, a table created on the source after the migration starts is not migrated until you restart the data migration. There is no built-in data validation, and you cannot migrate from a higher database version to a lower one.
DMS Serverless
DMS Serverless removes replication instance sizing. You create a replication and give it a minimum and maximum number of DMS capacity units (DCUs). A DCU is 2 GB of RAM. DMS reads the source metadata, works out the capacity the workload needs within that range, provisions it, and bills for the DCUs in use.
A serverless replication has no public IP address. It must reach Amazon S3, Kinesis, AWS Secrets Manager, DynamoDB, Amazon Redshift and OpenSearch Service through VPC endpoints. It also supports fewer endpoint types than standard DMS and does not support views.
Where the exam catches people
- Believing a DMS task converts stored procedures for a new engine: a task creates tables and primary keys. DMS Schema Conversion converts the code objects.
- Believing DMS Schema Conversion also copies the rows: it converts the schema, not the data.
- Believing a homogeneous data migration can move Oracle to PostgreSQL: it is for the same engine on both sides and uses that engine's native tools.
- Believing ongoing replication in a homogeneous PostgreSQL migration picks up new tables: only MySQL captures schema-level changes. Other engines need the data migration restarted.
- Believing a DMS Serverless replication can use a public address to reach S3 or Secrets Manager: it has no public IP and must use VPC endpoints.