An infrastructure modernization project requires migrating a high-throughput, on-premises Oracle database to Amazon Aurora PostgreSQL-Compatible Edition. The database is in active use 24/7, requiring a replication strategy that minimizes downtime to under 1 hour. A Solutions Architect uses the AWS Schema Conversion Tool (SCT) to convert the database schema and applies it to the target Aurora DB cluster. Next, the architect configures an AWS Database Migration Service (DMS) replication instance and a replication task with the migration type set to "Migrate existing data and replicate ongoing changes".
The replication task successfully performs the full load of all tables. However, once the replication task transitions to the Change Data Capture (CDC) phase, the task status changes to "Running with errors", and updates made on the source database are not reflected on the target database. Reviewing the DMS task logs reveals that the replication instance is unable to read the transaction changes from the source database's redo logs.
Which sequence of steps must the Solutions Architect perform on the source Oracle database to enable AWS DMS to successfully read the transaction changes and resume CDC replication?
- Configure the source database to run in ARCHIVELOG mode, enable minimal supplemental logging at the database level, and enable supplemental logging for the specific tables or columns being replicated.Answer
- BConfigure the source database to run in NOARCHIVELOG mode, set the initialization parameter log_buffer to a value greater than 512 MB, and enable force logging at the database level.
- CEnable binary logging by setting the initialization parameter log_bin to ON, configure the binlog format to ROW, and grant the REPLICATION CLIENT privilege to the DMS database user.
- DInstall the AWS SCT extraction agent on the source database server, configure the agent to read from the Oracle Active Data Guard standby database, and set the DMS task parameter UseLogminerReader to true.