A company is migrating a critical on-premises Oracle database to an Amazon Aurora PostgreSQL-Compatible Edition DB cluster. The database contains several tables with high-volume transaction writes and columns containing Large Objects (LOBs) that average but can reach up to in size. To minimize downtime, the solutions architect plans to use the AWS Schema Conversion Tool (AWS SCT) and AWS Database Migration Service (AWS DMS) for Change Data Capture (CDC). The migration must minimize the CPU overhead on the production Oracle source database and ensure that no LOB data is truncated during the replication. Which configuration should the solutions architect implement to meet these requirements?
- Configure AWS DMS to use the Binary Reader method for CDC, ensuring that the replication user has appropriate access to the Oracle directories containing the redo and archive logs, and enable supplemental logging at both the database and table levels. In the DMS task settings, enable inline LOBs by setting SupportLobs to true and specifying an InlineLobMaxSize of .Cevap
- BConfigure AWS DMS to use the Oracle LogMiner method for CDC to process transaction logs, and enable supplemental logging only at the table level for the primary key columns. In the DMS task settings, configure the task to use Limited LOB mode with a LobMaxSize of to ensure high performance and prevent memory exhaustion on the replication instance.
- CConfigure AWS DMS to use the Binary Reader method for CDC to read redo logs. In the DMS task settings, configure the task to use Full LOB mode to prevent truncation of any large columns. Rely on the AWS SCT agent to capture database changes and stream them to the DMS replication instance without enabling database-level supplemental logging.
- DConfigure AWS DMS to use the Oracle LogMiner method for CDC, and enable database-level minimal supplemental logging. In the DMS task settings, disable LOB support during the initial load, and configure an AWS Lambda function triggered by Amazon S3 event notifications to manually sync LOB updates using the AWS SCT extension pack.
Cevap
The configuration that uses AWS DMS Binary Reader for CDC with supplemental logging enabled at the database and table levels, combined with inline LOB settings in the task configuration.
To migrate a high-volume Oracle database to Amazon Aurora PostgreSQL with minimal source CPU overhead and no data truncation, the Solutions Architect should use the AWS DMS Binary Reader method. Unlike LogMiner, which queries the database engine directly and consumes CPU, Binary Reader reads the redo and archive logs directly from the file system or ASM. Additionally, AWS DMS CDC requires supplemental logging to be enabled at both the database and table levels. To handle LOB columns where the average size is small () but maximum size is large (), inline LOB mode (InlineLobMaxSize) should be used. This allows DMS to transfer LOBs smaller than the threshold inline with table rows for maximum performance, while performing a full lookup only for larger LOBs to prevent truncation.
Adım Adım Çözüm
Anahtar Kavram
Optimizing AWS DMS CDC performance and LOB replication during heterogeneous migrations from Oracle to Amazon Aurora.
Tahmini Süre:3m 0s