A solutions architect is planning the migration of an on-premises Oracle database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The database contains tables with Large Objects (LOBs) and requires continuous replication to minimize downtime. The schema has already been converted using the AWS Schema Conversion Tool (SCT). The architect is now configuring AWS Database Migration Service (AWS DMS) for the full load and Change Data Capture (CDC) replication phases.
Which two configurations are required to ensure the replication succeeds and performs optimally? (Select two.)
- Enable supplemental logging at the Oracle database level and add supplemental logging for primary keys on all tables selected for replication.Answer
- Configure the AWS DMS task using Limited LOB mode and set a Max LOB size parameter that accommodates the maximum size of LOBs in the migrated tables.Answer
- CRely on default Oracle configurations by executing the replication task without enabling supplemental logging, as AWS DMS reads the active redo logs directly to capture changes automatically.
- DExecute the database migration as a simple Replatforming path by utilizing the AWS SCT to automatically deploy unchanged Oracle PL/SQL stored procedures directly into the Aurora PostgreSQL target database.
- EConfigure the AWS DMS target endpoint to use Aurora PostgreSQL read replicas to scale the database write performance and parallelize the data load during the CDC phase.
Answer
To perform a successful and optimal migration, you must enable supplemental logging at both the database and primary key table levels on the source Oracle database, and configure the AWS DMS task to use Limited LOB mode with an appropriate maximum LOB size.
Enabling supplemental logging at the database level and on the tables ensures that Oracle writes full row changes to its redo logs, which is a hard prerequisite for AWS DMS CDC. Configuring Limited LOB mode with a correct Max LOB size optimizes data transfer speeds during full load and replication because DMS pre-allocates memory buffers, avoiding the performance degradation associated with Full LOB mode.
Step-by-Step Solution
Key Concept
Heterogeneous database migration requirements including source database CDC prerequisites and LOB optimization settings in AWS DMS.