A solutions architect is planning a heterogeneous database migration from an on-premises Oracle database to Amazon Aurora PostgreSQL using the AWS Schema Conversion Tool (SCT) and AWS Database Migration Service (DMS). To optimize the performance of the initial DMS full load phase and reduce target write latency, which action should the solutions architect take?
- ADeploy a single NAT Gateway in the public subnet and route all replication traffic from multiple Availability Zones through it to consolidate network bandwidth.
- BProvision an Amazon ElastiCache for Memcached cluster to act as a persistent replication cache between the source and target databases.
- Disable secondary indexes, foreign key constraints, and triggers on the target database before starting the full load, and re-enable them after completion.Answer
- DEnable supplemental logging or binary logging on the source database to accelerate the data transfer rate of the initial full load.
Answer
Disable secondary indexes, foreign key constraints, and triggers on the target database before starting the full load, and re-enable them after completion.
Disabling secondary indexes, foreign key constraints, and triggers on the target database before beginning a full load operation is a standard best practice to reduce write latency and maximize ingestion throughput. These components can be re-enabled and rebuilt once the full load phase completes.
Step-by-Step Solution
Key Concept
AWS Database Migration Service (DMS) full load optimization strategies