Back to Notes
awsNODE: #aws-database-migration-service

AWS Database Migration Service (AWS DMS)

Managed database migration and continuous replication service supporting both homogeneous and heterogeneous database engines.

AKA:AWS DMS, DMS, Database Migration Service
#aws#migration#database#cdc#sct#sap-c02#domain-4
GRAPH_RELATIONS // CONNECTED_NODESLINKED

AWS Database Migration Service (AWS DMS)

Overview

AWS Database Migration Service (AWS DMS) migrates relational databases, data warehouses, NoSQL databases, and other data stores into AWS with minimal application downtime.

Migration Workflows: Homogeneous vs. Heterogeneous

  • Homogeneous Migration: Source and target database engines are identical (e.g., Oracle on-premise to Amazon RDS for Oracle, or MySQL to Aurora MySQL). Native tools (e.g., Oracle Data Pump, mysqldump, pg_dump) or AWS DMS can be used.
  • Heterogeneous Migration: Source and target database engines differ (e.g., Microsoft SQL Server to Aurora PostgreSQL).
    • Step 1: AWS Schema Conversion Tool (AWS SCT) converts database schema, views, stored procedures, triggers, and functions to the target engine.
    • Step 2: AWS DMS performs initial full-load data migration followed by continuous Change Data Capture (CDC).

Change Data Capture (CDC)

  • Reads the transaction log (e.g., Oracle Redo Logs, SQL Server Transaction Log, MySQL Binary Log) of the source database during active production use.
  • Continuously applies transactional changes to the target database with sub-second replication latency, allowing administrators to defer the cutover window until off-peak hours with zero data loss.