Free audit

View Audit Scope
AWS DMS

AWS DMS · Change Data Capture

AWS Database Migration Service

Executive Direct Answer · AWS DMS Architecture & CDC Scope

AWS Database Migration Service (AWS DMS) is a fully managed cloud replication service that automates database migrations and continuous change data capture (CDC) across heterogeneous and homogeneous database engines with sub-second replication latency. JusDB delivers end-to-end DMS architecture, SCT schema conversions, LOB memory tuning, and agreed DBRE incident response (24x7 on-call available).

Replication Latency: <1s End-to-End·Cutover Downtime: Planned per Workload·Response Targets: Per Agreement·Engines: Oracle, Postgres, MySQL, SQL Server·ISO 27001 & SOC 2 Type II: aligned, certification in progress

Migrate your databases to AWS quickly and securely with minimal downtime. Our AWS DMS expertise ensures smooth transitions, continuous data replication, and high-throughput CDC streaming.

End-to-End DMS Migration Capabilities

Database Migration

Seamless migration between different database engines with minimal downtime.

Cross-Region Replication

Real-time data replication across AWS regions for disaster recovery.

Change Data Capture

Continuous data replication with low latency for real-time analytics.

Schema Conversion

Automated schema conversion between different database platforms.

Data Validation

Comprehensive data validation to ensure migration accuracy.

Security & Encryption

End-to-end encryption for data in transit and at rest.

AWS DMS Capabilities

From planning to execution, we handle every aspect of your database migration journey.

Heterogeneous database migrations
Homogeneous database migrations
Continuous data replication
Schema conversion tools (SCT)
Data validation and checksum testing
Minimal downtime migrations (<5m cutover)
Cross-region replication topologies
Real-time CloudWatch CDC monitoring

Our AWS DMS Migration Process

A proven methodology for seamless database migrations with minimal downtime and maximum data integrity.

PHASE 01

Migration Assessment

Comprehensive analysis of source databases, target requirements, and migration complexity.

Deliverables:

  • Source database analysis
  • Compatibility assessment
  • Migration strategy document
  • Timeline and resource planning
1-2 weeks
PHASE 02

Schema Conversion

Automated schema conversion using AWS SCT with manual optimization for complex objects.

Deliverables:

  • Converted database schema
  • Data type mappings
  • Custom code conversion
  • Validation reports
1-3 weeks
PHASE 03

DMS Setup & Testing

Configure AWS DMS replication instances, endpoints, and tasks with comprehensive testing.

Deliverables:

  • DMS instance configuration
  • Replication task setup
  • Test migration execution
  • Performance validation
1-2 weeks
PHASE 04

Production Migration

Execute production migration with real-time monitoring and immediate rollback capability.

Deliverables:

  • Production cutover
  • Data validation
  • Application testing
  • Go-live support
1-3 days
Total Migration Timeline: 4-10 weeks

AWS DMS & CDC: Critical Failure Modes

While AWS DMS simplifies initial table replication, production continuous CDC introduces complex replication slot, LOB truncation, and thread starvation challenges. Here are the 3 critical failure modes our DBRE team mitigates:

Critical · Data Corruption Risk

Limited LOB Mode Data Truncation & Silent Payload Loss

When an AWS DMS replication task runs in default Limited LOB mode with Max LOB Size set below actual document or blob dimensions, DMS silently truncates oversized payloads without failing the task. Downstream analytical lakes and application stores receive severed JSON, XML, or binary columns, corrupting transactional consistency.

JusDB Engineering Mitigation:

Executing schema-wide LOB profiling to identify 99.9th percentile payload sizes, configuring calibrated Inline LOB or Full LOB modes with dedicated S3 staging, and setting automated task error policies to STOP_ON_ERROR rather than dropping silent truncation warnings.

Critical · Outage Trigger

Unconsumed WAL Replication Slot Disk Bloat & Primary DB Outage

During continuous CDC replication from PostgreSQL or MySQL, an unmonitored DMS task pause, network partition, or memory starvation halts checkpoint consumption. The source database continues holding write-ahead logs in pg_wal or binary logs on disk, rapidly consuming 100% of storage volume capacity and triggering an emergency engine crash.

JusDB Engineering Mitigation:

Configuring PostgreSQL max_slot_wal_keep_size, deploying automated slot lag monitoring runbooks, setting automated DMS heartbeat tables to advance uncommitted LSNs, and provisioning proactive disk headroom alert triggers.

High · Pipeline Stall

Single-Threaded Target Ingestion Bottleneck & CDC Lag Spike

By default, AWS DMS applies change events to the target database in strict transaction order using a single writer thread. Under high-concurrency source write spikes (e.g. batch updates or flash sales), target commit latency compounds exponentially, driving CDC replication lag from seconds to multiple hours and exhausting replication instance swap memory.

JusDB Engineering Mitigation:

Enabling DMS BatchApply mode (BatchApplyEnabled = true), partitioning parallel workers across multiple apply threads (ApplyThreads = 8 to 32), and tuning transaction batch memory limits (MemoryLimitInMB) to maintain sub-second propagation under peak load.

Telemetry Runbooks · Non-Blocking DMS Latency & Slot Forensics

Our DBREs execute safe, non-blocking telemetry commands to monitor DMS task throughput, CDC latency, and PostgreSQL logical replication slot lag in real time:

AWS CLI: DMS Replication Task CDC Latencyaws dms
# Inspect task status, stop reason, and CDC replication latency
aws dms describe-replication-tasks \
  --filters "Name=replication-task-id,Values=production-cdc-task" \
  --query "ReplicationTasks[0].{Status:Status,StopReason:StopReason,CDCLatency:ReplicationTaskStats.CDCLatency}" \
  --output table

# Verify replication instance memory pressure and swap utilization
aws cloudwatch get-metric-data \
  --metric-data-queries '[{"Id":"m1","MetricStat":{"Metric":{"Namespace":"AWS/DMS","MetricName":"MemoryUsage","Dimensions":[{"Name":"ReplicationInstanceIdentifier","Value":"dms-prod-core"}]},"Period":60,"Stat":"Average"}}]' \
  --start-time $(date -u -v-1H +%Y-%m-%dT%H:%M:%SZ) \
  --end-time $(date -u +%Y-%m-%dT%H:%M:%SZ)
PostgreSQL Source: Logical Slot Lag & WAL Footprintpg_replication_slots
-- Non-blocking read-only inspection of unconsumed WAL and slot activity
SELECT slot_name,
       active,
       active_pid,
       pg_size_pretty(pg_wal_lsn_diff(pg_current_wal_lsn(), restart_lsn)) AS unconsumed_wal_lag,
       confirmed_flush_lsn
FROM pg_replication_slots
WHERE slot_name LIKE '%dms%' OR slot_type = 'logical';

How JusDB AWS DMS DBRE compares to alternative approaches.

AWS DMS offers cloud-native migration convenience, but high-throughput continuous CDC requires deep parameter tuning, slot protection, and LOB memory safeguards. Here is how JusDB specialized DBRE compares against native Debezium and in-house ETL.

Evaluation VectorJusDB AWS DMS DBRENative Debezium / Kafka ConnectIn-House ETL / Batch Polling
Heterogeneous Schema Conversion & SCT RulesAutomated AWS SCT rule sets, manual optimization for stored procedures/triggers, and full custom DDL migration without schema mismatch errorsGeneric SCT translation that leaves stored procedures, spatial types, and complex triggers untranslated, causing downstream sink breaksManual schema rewriting leading to data type truncation (e.g., BIGINT to INT, VARCHAR sizing) and subtle silent data corruption
LOB Handling & Memory Buffer AllocationOptimized Inline LOB mode with calibrated MaxLOBSize and memory buffer tuning, eliminating round-trip latency and preventing task OOM crashesDefault Limited LOB mode truncating payloads exceeding 32 KB, or Full LOB mode causing massive latency spikes and 10x network overheadApplication-level chunking jobs running out of heap memory and timing out during large binary or text object transfers
Source Database Health & WAL RetentionDynamic slot lag alerting, heartbeats for idle tables, and automated connection pooling preventing primary database storage exhaustionBasic CloudWatch lag alarms without automated slot drops; unconsumed WAL accumulates until the primary database runs out of diskManual periodic log scraping causing transaction log lock contention, excessive CPU spikes, and eventual production outages
Throughput Optimization & Batch TuningFine-tuned BatchApplyEnabled, ApplyThreads parallelization (up to 32 workers), and transaction grouping to sustain >50k events/secDefault single-threaded one-by-one statement application creating massive target ingestion lag during peak write volumesSingle-threaded JDBC loops processing records sequentially, accumulating hours of replication lag and causing data staleness
Multi-AZ Resilience & Resume PointsMulti-AZ replication instances with automatic failover, recovery checkpoint persistence, and CDC resume validation against source log positionsSingle-AZ instances requiring manual recreation and complete table re-loads when underlying EC2 hardware encounters an unrecoverable faultAd-hoc Python or Go worker scripts lacking checkpoint persistence, requiring full table re-dumps after worker crashes
Incident Response & EscalationNamed AWS DMS engineers join your incident bridge. Initial-response targets: 2 to 4 hours in covered business hours; 30 minutes for P1 incidents with 24x7 on-call. Targets, not resolution guarantees.Standard AWS Support tiers with generic 1–4 hour ticket responses and back-and-forth log uploads while replication remains stalledDevOps generalists attempting to decipher cryptic DMS task error codes and CloudWatch logs at 3 AM during business-critical downtime
Rehearsed
Cutover
Planned per workload
Downtime
Counts + checksums
Data Validation
15+
Supported Engines

AWS Migration Ecosystem

Complete AWS database migration and replication tools

AWS DMSAWS SCTAmazon KinesisAWS LambdaAmazon S3Amazon RDSAmazon AuroraAmazon Redshift

Frequently Asked Questions

Direct technical answers from our cloud database reliability engineers.

What source and target database engines does AWS DMS support?

AWS DMS supports homogeneous migrations (e.g. Oracle to Oracle, PostgreSQL to PostgreSQL) and heterogeneous migrations (e.g. Oracle to Aurora PostgreSQL, SQL Server to MySQL, MongoDB to DocumentDB). Targets also include Amazon Redshift, Amazon S3, and Amazon OpenSearch.

How does AWS DMS achieve near-zero downtime during cutover?

DMS takes a full baseline snapshot while simultaneously capturing incremental changes via transaction logs (WAL, binlog, redo logs). During migration, CDC applies changes in real-time. Cutover requires only a brief application pause (typically under 5 minutes) to drain inflight transactions.

What is the difference between Limited LOB mode and Full LOB mode in DMS?

Limited LOB mode truncates LOB columns exceeding a user-defined threshold (e.g. 32 KB) to maximize throughput, risking silent data loss if oversized payloads occur. Full LOB mode replicates complete LOBs without truncation by querying LOB chunks separately, which is safe but slower. We tune Inline LOB mode to combine the best of both.

How do you prevent source database disk full errors during CDC replication?

In PostgreSQL, replication slots retain unread WAL on disk until the DMS task reads and confirms them. We configure max_slot_wal_keep_size, deploy heartbeat tables to advance uncommitted transaction checkpoints, and set aggressive CloudWatch lag alarms.

Can AWS DMS transform data during replication?

Yes. AWS DMS supports table mapping rules to rename schemas and tables, include or exclude specific columns, add audit columns, and apply filter expressions. For complex transformations, we pair DMS with AWS Lambda or Amazon Kinesis Data Streams.

What SLA and support model does JusDB provide for AWS DMS migrations?

DMS migrations run under your service agreement, with the engineers assigned to your account staying on through cutover and post-cutover performance stabilization. Initial-response targets are 2 to 4 hours during covered business hours, Mon–Fri 09:00–18:00 IST (UTC+5:30). Where your service agreement includes 24x7 on-call, the initial-response target for P1 incidents is 30 minutes. Targets are not resolution guarantees.

Ready to Migrate to AWS?

Let our AWS DMS experts handle your database migration with validated data and minimal downtime.