"Moving a database means a weekend of downtime." The old way was exactly that: stop the application, dump the database, copy the file, restore it, pray, and start again on Monday. With AWS Database Migration Service (DMS) the source database keeps serving users while the data copies over, and downtime shrinks to a short cutover at the end.
What DMS does
DMS moves data from a source database to a target database. At least one side runs on AWS: you might move an on-premises Oracle or SQL Server into Amazon RDS or Aurora, a self-managed MySQL on EC2 into RDS, or a MongoDB into Amazon DocumentDB. It also loads data into targets such as Amazon S3 and Amazon Redshift.
Full load, then change data capture
A typical migration has three phases:
- Full load: DMS copies the existing rows from source to target.
- Change data capture (CDC): while and after the full load runs, DMS reads the source's change log and replays every insert, update and delete on the target, keeping it in sync.
- Cutover: when the target has caught up, you stop writes for a moment, point the application at the new database, and you're done.
Because the source stays live until step 3, you can test the target with real data first. A common mistake is skipping that test: always validate row counts and run the app against the target before you cut over.
Same engine or different engine
- Homogeneous (same engine, for example PostgreSQL to Aurora PostgreSQL, or MySQL to RDS for MySQL): DMS homogeneous data migrations use the native database tools and run serverless, so AWS sizes the resources for you. They support full load, ongoing replication, or both.
- Heterogeneous (different engines, for example Oracle to PostgreSQL): data types, SQL dialects and stored procedures differ, so you first convert the schema with DMS Schema Conversion (or the older AWS Schema Conversion Tool), then move the data with DMS. The assessment report tells you how much of the code converts automatically and what needs manual work.
DMS Serverless
Classic DMS runs on a replication instance you choose and size. DMS Serverless removes that step: it analyses the source, provisions and scales replication capacity automatically, and you pay for what you use. No instance types to pick, patch or resize.
Where AI fits
The hardest part of a heterogeneous migration is usually the code: stored procedures, functions and dialect-specific SQL that rule-based converters cannot translate. DMS Schema Conversion can now use generative AI to propose conversions for those objects. AWS supports it for Oracle, SQL Server, SAP ASE and IBM Db2 sources into RDS for PostgreSQL and Aurora PostgreSQL, in a list of supported Regions. AWS is clear that the output is probabilistic: you must review and validate every conversion, and some objects (such as triggers, indexes and dynamic SQL) are out of scope. Since July 2026, AI coding agents can also drive Schema Conversion projects through the AWS MCP Server.
Quick recap
- Full load, then CDC, then a short cutover: the source keeps running during the copy.
- Same engine: homogeneous migrations with native tools, serverless.
- Different engines: convert the schema first; generative AI helps with the hard code, and you review it.