A retailer plans to move its order database from an on-premises Oracle server to Amazon Aurora PostgreSQL. The team sets up AWS Database Migration Service, points it at the source and target, and starts a full load with ongoing replication.
Within a day, hundreds of millions of rows are copied and changes stream across in near real time. The dashboard shows green. Then testing begins. The application fails on dozens of queries, because stored procedures and triggers written in PL/SQL were never converted.
Some tables lack the indexes they had in Oracle, so reports run for minutes. A column of large text values arrived truncated because of a default setting. Date handling differs subtly between the two databases.
The data moved perfectly well. Everything around the data, the code, indexes, settings, and application behaviour, had not been planned at all. Go-live slips by two months while the team works through problems it could have found in the first week.
AWS DMS moves data well, so plan your migration around everything it does not move: schema logic, application behaviour, validation, and cutover.
AWS Database Migration Service, or AWS DMS, is a managed AWS service that copies data from a source database to a target database, supporting one-time full loads and ongoing replication of changes, for migrations between the same or different database engines and into AWS data stores.
How a Real Estate SaaS Cut Its AWS Bill 38% in Just 12 Weeks
Reduce AWS spend quickly without compromising platform performance or reliability.
However, many teams treat DMS as the whole migration, when it handles data movement only, leaving schema and code conversion, application changes, validation, and cutover to separate planning and tools.
If you are a CTO, data engineer, or cloud architect, the intent of this article is:
- Explain what AWS DMS does and how it works
- Show which parts of a migration DMS does not cover
- Lay out a practical plan for migrations that finish cleanly
To do that, let's start with the basics.
What Is AWS Database Migration Service? The Basic Definition
At a high level, AWS DMS connects a source endpoint, such as Oracle, SQL Server, MySQL, PostgreSQL, or MongoDB, to a target endpoint, such as Amazon RDS, Aurora, Redshift, DynamoDB, or Amazon S3.
A replication instance, or a serverless replication configuration, runs migration tasks between them. Tasks can perform a full load, copying all existing data. Full load plus change data capture, which copies existing data and then keeps applying ongoing changes; or change data capture only.
Homogeneous migrations move between the same engine, while heterogeneous migrations move between different engines, such as Oracle to PostgreSQL. For heterogeneous moves, schema objects such as tables, views, stored procedures, functions, and triggers must be converted separately, using DMS Schema Conversion or the AWS Schema Conversion Tool, along with manual work for anything they cannot convert.
DMS creates target tables with basic structure, but secondary indexes, constraints, and code objects need their own handling. DMS also offers data validation to compare source and target rows.
To compare:
AWS DMS is like a professional removals company. It packs and moves your belongings safely, even while you keep using the house. But it does not redesign your new kitchen to fit your old appliances, rewire the lights, or check that everything works when you move in. Those jobs need their own plan.
Why Does AWS DMS Matter?
Issues that they address or resolve:
- Long downtime during database migrations
- Manual, error-prone data copying
- Difficulty moving off licensed commercial databases
Resolved Issues by a Well-Planned DMS Migration
- Near-zero downtime cutovers
- Reliable, repeatable data movement
- Lower licensing and hosting costs
Core Components of a DMS-Based Migration
- Assessment of source databases and dependencies
- Schema and code conversion
- Full load and change data capture
- Data validation and application testing
- Cutover and rollback planning
Modern Tooling for Database Migration
- AWS DMS for data movement and replication
- DMS Schema Conversion and AWS SCT for schema and code
- DMS data validation for row comparisons
- AI-assisted code conversion for complex procedures
- Monitoring with CloudWatch and task logs
These tools cover different parts of the job. Schema and code conversion deserve the most attention in heterogeneous migrations, because unconverted logic is the most common reason applications fail after data has moved.
Other Core Issues They Will Solve
- Modern platforms for analytics and AI
- Easier scaling and managed operations
- Consolidation of database estates
In Summary: AWS DMS moves data reliably with full load and change data capture. Successful migrations also plan conversion, validation, application testing, and cutover.
Importance of AWS DMS in 2026
Database migrations to the cloud continue at pace. Four reasons make careful DMS planning important now.
1. Commercial licence costs drive moves.
Organisations move from commercial engines to open-source-compatible databases to cut costs.
2. AI needs modern data platforms.
Data in cloud databases is easier to use for analytics and AI, as discussed in developing data infrastructure for AI.
3. Downtime tolerance is low.
Businesses expect migrations with minimal interruption, which change data capture supports.
4. AI helps convert code.
AI-assisted tools can speed up conversion of stored procedures that automated tools miss.
Traditional vs. Planned DMS Migration
- DMS treated as the migration vs. DMS as one part of the migration
- Schema handled ad hoc vs. schema and code converted first
- Validation by spot checks vs. automated validation
- Cutover on a weekend hope vs. rehearsed cutover with rollback
In summary: Planned migrations use DMS for what it does best and handle the rest deliberately.
Details About the Core Components of a DMS-Based Migration: What Are You Designing?
Let's go through each component.
1. Assessment Layer
Knowing what you are moving.
Assessment decisions:
- Database sizes, objects, and features inventoried
- Applications and dependencies mapped
- Unsupported data types identified
2. Conversion Layer
Preparing the target.
Conversion decisions:
- Schema converted with DMS Schema Conversion or SCT
- Stored procedures and triggers rewritten where needed
- Indexes and constraints planned for after load
3. Replication Layer
Moving the data.
Replication decisions:
- Full load plus change data capture configured
- Large object settings chosen carefully
- Task performance and parallelism tuned
4. Validation Layer
Proving the data is right.
Validation decisions:
- DMS data validation enabled
- Row counts and checksums compared
- Business reports reconciled
5. Cutover Layer
Switching safely.
Cutover decisions:
- Cutover rehearsed in a test environment
- Replication lag checked before switching
- Rollback plan defined and tested
Benefits Gained from a Planned DMS Migration
- Applications that work on day one
- Minimal downtime at cutover
- Confidence in data accuracy
How It All Works Together
The retailer restarts its migration with a fuller plan. An assessment inventories every table, index, stored procedure, trigger, and data type in the Oracle database, and maps which applications use which objects.
DMS Schema Conversion converts most of the schema automatically and produces a report of items needing manual work. Engineers use AI-assisted tools to draft conversions of the remaining PL/SQL procedures, then review and test each one.
Target tables are created ahead of the load, with secondary indexes and foreign keys added after the full load to speed it up. DMS runs a full load with change data capture, with large object settings adjusted so long text values arrive intact.
Data validation compares source and target rows continuously, and finance reconciles daily sales reports from both databases for two weeks. The application team runs its full test suite against Aurora, fixing date handling and query differences.
Cutover is rehearsed twice. On the night, the team stops writes, waits for replication to catch up, switches connections, and keeps a reverse replication path ready in case of rollback. The application runs on Aurora the next morning without incident.
The Oracle server is kept read-only for a month as a safety net, then retired.
Common Misconception
AWS DMS migrates the whole database.
DMS is very good at moving data and keeping it in sync, including across different engines. But a database is more than its data. It includes schema details, indexes, constraints, stored procedures, functions, triggers, users, permissions, and settings, along with the application code that depends on how the database behaves.
DMS creates only basic table structures on its own, and does not convert code. For heterogeneous migrations especially, schema and code conversion, application changes, performance tuning, and validation are separate pieces of work.
Treating DMS as one tool within a wider migration plan is what makes migrations succeed.
Key Takeaway: Use DMS for data movement and replication. Plan schema, code, application, validation, and cutover separately.
Real-World AWS DMS Migration in Action
Let's take a look at how it operates with a real-world example.
We worked with a retailer migrating from on-premises Oracle to Aurora PostgreSQL, with these constraints:
- Large order database with heavy PL/SQL logic
- Minimal downtime allowed
- Finance reports that must reconcile exactly
Step 1: Assess
Know the estate.
- Objects and data types inventoried
- Application dependencies mapped
- Conversion effort estimated
Step 2: Convert
Prepare the target.
- Schema converted automatically where possible
- PL/SQL rewritten with AI assistance and review
- Indexes planned for after load
Step 3: Replicate
Move and sync data.
- Full load plus change data capture
- Large object settings adjusted
- Performance tuned
Step 4: Validate and Test
Prove correctness.
- DMS validation enabled
- Finance reports reconciled for two weeks
- Application test suite passed
Step 5: Cut Over
Switch safely.
- Cutover rehearsed twice
- Replication lag cleared before switching
- Reverse replication kept for rollback
Where AWS DMS Works Well
- Migrations into AWS with minimal downtime
- Homogeneous moves between the same engine
- Ongoing replication into analytics stores
Where It Needs More Support
- Heterogeneous migrations with heavy stored procedure logic
- Databases using unusual data types or features
- Migrations needing complex data transformation
Key Takeaway: DMS suits most migrations into AWS. Heavy code logic and complex transformations need extra tools and engineering.
Common Pitfalls
i) Skipping schema and code conversion
Moving data without converting logic leaves applications broken.
- Queries fail
- Triggers and procedures are missing
- Testing finds problems late
ii) Default large object settings
Default settings can truncate large values. Review and test them. Check the largest values in each column before choosing a mode.
iii) Indexes during full load
Creating secondary indexes before the full load slows it. Add them afterwards.
iv) Unrehearsed cutover
First-time cutovers on production invite mistakes. Rehearse and plan rollback.
Takeaway from these lessons: Convert logic first, check settings, sequence indexes, and rehearse cutover.
AWS DMS Best Practices: What High-Performing Teams Do Differently
1. Assess thoroughly
Inventory objects, data types, and application dependencies before starting. Include batch jobs, reports, and integrations that read the database directly.
2. Convert schema and code first
Use DMS Schema Conversion or SCT, and plan manual work for what they cannot handle.
3. Tune replication
Set large object handling, parallelism, and instance size for your data, with support from data platform engineering services.
4. Validate automatically
Enable DMS validation and reconcile business reports, tracking data lineage where reports depend on many tables.
5. Rehearse cutover
Practise the switch and keep a rollback path ready. Time each step during rehearsal so the real cutover window is predictable.
Logiciel's value add is planning and running database migrations end to end, through our cloud and DevOps practice and ETL/ELT implementation services.
Takeaway for High-Performing Teams: Assess, convert first, tune replication, validate automatically, and rehearse cutover.
Signals Your DMS Migration Is Working
How do you know it is working? Not by a green replication dashboard, but by applications running correctly on the new database. These are the signals that separate a finished migration from moved data.
Validation passes. Source and target rows match.
Reports reconcile. Business figures agree across systems.
Applications pass tests. Queries and procedures work.
Replication lag is low. Changes arrive quickly.
Cutover is uneventful. Users notice little or nothing.
Adjacent Capabilities and Connected Work
This work does not exist in isolation. Database migration depends on, and feeds into, your applications, data platform, and operations. Ignoring the adjacencies is the most common scoping mistake.
AI-ready data foundations build on migrated data. QA and test automation proves applications work. Application teams update queries and code. Finance confirms report accuracy.
The common mistake is treating each adjacency as someone else's problem. The code conversion is your problem. The validation is your problem. The rollback plan is your problem. Pretend otherwise and your migration will finish moving data long before it finishes working.
Own the adjacencies you depend on, partner with the teams that hold them, and share the cutover plan.
Conclusion
AWS Database Migration Service makes moving data into AWS far easier, with full loads, change data capture, and validation across many engines. But data movement is only one part of a migration.
Assess the source thoroughly, convert schema and code before loading, tune replication settings, add indexes after the full load, validate data and reconcile reports, test applications fully, and rehearse cutover with a rollback plan.
Teams that plan around what DMS does not do complete migrations with minimal downtime and applications that work from the first morning.
Key Takeaways:
- DMS moves data; schema, code, and cutover need separate planning
- Change data capture enables near-zero downtime cutovers
- Validation and rehearsal turn moved data into a finished migration
Using AWS DMS well requires a complete migration plan. When done correctly, it produces:
- Minimal downtime
- Accurate, validated data
Why “Context” Is Becoming the New Cloud Infrastructure Layer
Understand how context infrastructure is reshaping retrieval and intelligent systems.
- Working applications on day one
- Lower database costs
What Logiciel Does Here
If you are planning a database migration to AWS or one has stalled after the data moved, we help you assess, convert, replicate, validate, and cut over safely.
Learn More Here:
At Logiciel Solutions, we work with technology and data leaders on cloud and DevOps. Our reference patterns come from database migrations in retail, fintech, healthcare, and SaaS.
Download the related whitepaper on AWS Database Migration Service.