Soru

Zorluk: KolayDatabase Migration and Schema Conversion using DMS and SCT

A solutions architect is planning to migrate an on-premises Oracle database to an Amazon Aurora PostgreSQL database. The migration must minimize downtime and convert database code such as stored procedures. Which of the following actions are required to convert the database schema and perform the migration with ongoing replication? (Select TWO.)

  1. Use the AWS Schema Conversion Tool (SCT) to convert the database schema, stored procedures, and functions to PostgreSQL-compatible formats.Cevap
  2. Enable supplemental logging on the source Oracle database to allow AWS Database Migration Service (DMS) to read the redo logs for Change Data Capture (CDC).Cevap
  3. C
    Start the AWS Database Migration Service (DMS) replication task with Change Data Capture (CDC) enabled without configuring supplemental logging or archiving on the source Oracle database.
  4. D
    Use AWS Application Migration Service (MGN) to automatically convert the Oracle database engine to PostgreSQL and replicate the underlying blocks.
  5. E
    Configure AWS Resource Access Manager (RAM) to share the on-premises physical disk storage containing Oracle data files with the target database.

Cevap

Use the AWS Schema Conversion Tool (SCT) to convert the database schema, stored procedures, and functions, and enable supplemental logging on the source Oracle database.
To migrate from Oracle to Aurora PostgreSQL (a heterogeneous migration), the schema and code must be converted using the AWS Schema Conversion Tool (SCT). Furthermore, to perform ongoing replication (Change Data Capture), supplemental logging must be enabled on the source Oracle database so AWS DMS can successfully capture and replicate transaction changes from the redo logs.

Adım Adım Çözüm

1
Convert the schema and code for the heterogeneous migration.
Use AWS SCT to translate Oracle-specific schemas and stored procedures to PostgreSQL-compatible formats.
Since the source and target database engines are different (Oracle to PostgreSQL), standard migration tools cannot automatically convert database code without schema conversion.
2
Configure the source database for replication.
Enable supplemental logging on the source Oracle database.
AWS DMS needs supplemental logging enabled on Oracle to extract data change information from the redo logs during the Change Data Capture (CDC) phase.

Anahtar Kavram

Heterogeneous database migration using AWS SCT and AWS DMS with Change Data Capture.
Bu soruyu puanla