About data flow for Oracle to AlloyDB for PostgreSQL

There are two important concepts you need to understand to know how data flows from your source to the destination cluster: migration types and migration phases. Database Migration Service supports two types of migration: continuous and one-time. Only continuous migrations are available for heterogeneous Oracle to AlloyDB for PostgreSQL migrations.

With continuous migrations, your data is migrated in two phases: full dump, and Change Data Capture (CDC).

Full dump phase

The full dump phase is the first part of the migration process. During full dump, Database Migration Service connects to your source instance, reads the content of the tables you selected for migration, and then loads the data to the AlloyDB for PostgreSQL destination cluster. In this phase, Database Migration Service captures actual contents of your database.

During the full dump phase, Database Migration Service can open multiple connections to your source databases for improved performance. You can configure the number of concurrent connections when you create a migration job.

For granular control over your data movement, you can also perform the full dump and load the data to the destination cluster on your own, outside of Database Migration Service. If you choose to perform this phase manually, your migration job will start with the CDC phase instead and Database Migration Service will expect that you provide the System Change Number (SCN) of your redo log files as the starting point.

Change Data Capture (CDC)

When the full dump phase is over (or if you choose to perform the full dump yourself and start with the CDC phase), Database Migration Service switches to the CDC phase where it keeps monitoring your source database for changes, and then continuously replicates them on the destination cluster. In this phase, Database Migration Service doesn't copy actual data from your source database: instead it reads log files to replicate changes in the destination.

Database Migration Service uses the Oracle LogMiner API to access and parse archived Oracle redo log files in your source database. Before you migrate your Oracle databases to AlloyDB for PostgreSQL with Database Migration Service, we recommend that you adjust your Oracle redo log files settings for optimal performance and data fidelity. For more information, see Work with Oracle redo log files.