An organization is planning to migrate a critical, highly transactional Oracle database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The database contains several tables with large amounts of data, some of which contain Large Objects (LOBs) and do not have primary keys defined. The migration must have near-zero downtime, so the team is using the AWS Schema Conversion Tool (SCT) and AWS Database Migration Service (DMS) with Change Data Capture (CDC) enabled. Minimal supplemental logging is enabled at the database level on the source Oracle database. During testing, the DMS task completes the full load phase successfully. However, during the CDC phase, the task shows a status of 'Running with errors'. An analysis of the target database shows that while INSERT operations are being replicated, UPDATE and DELETE operations are missing for tables that do not have primary keys. Furthermore, tables containing LOB columns are experiencing severe performance degradation during replication. Which combination of actions will resolve these issues while maintaining replication performance?
- Enable table-level supplemental logging on the source Oracle database for all columns of tables without primary keys, and primary key columns for tables with primary keys. Configure the AWS DMS replication task to use Limited LOB mode with a specified maximum LOB size to optimize replication speed.Cevap
- BEnable database-level supplemental logging for all columns on the source Oracle database. Configure the AWS DMS task to use Full LOB mode, and increase the LOB chunk size parameter to improve replication performance.
- CChange the AWS DMS source endpoint settings to use Oracle Binary Reader instead of Oracle LogMiner to bypass the requirement for table-level supplemental logging. Configure the AWS DMS task to exclude LOB columns during CDC, and migrate LOB columns using a separate AWS SCT agent task.
- DInstall the AWS SCT extension pack on the target Aurora PostgreSQL database to automatically generate primary keys using UUIDs. Configure the AWS DMS task to use Inline LOB mode with a custom replication task setting to sync tables without primary keys.