At a high level, your data moves through the migration phases as follows:
You use Database Migration Service conversion workspace to convert your schemas, tables, and other objects from Oracle syntax to PostgreSQL syntax.
Oracle databases can often have several thousand objects whose schema you need to convert. With Database Migration Service, you can divide your work into multiple phases. Database Migration Service can connect to your source databases and pull the required schema information when needed.
When you finish translating all your entities to PostgreSQL syntax, you apply the schema to the databases in the destination instance.
The goal of this stage is to prepare your destination databases so that Database Migration Service can later replicate the data from source tables to their correct equivalents in Cloud SQL for PostgreSQL.
Once your schema is applied, you can begin the data migration.
The full dump phase is the first part of the migration process. There are two ways in which you can complete full dump:
Automatic: Database Migration Service connects to your source instance, reads the contents of the tables you selected for migration, and then loads the data to the Cloud SQL for PostgreSQL destination instance.
In this phase, Database Migration Service captures actual contents of your database.
When the full dump phase is over, Database Migration Service switches to the CDC phase. During CDC, Database Migration Service keeps monitoring your source databases for changes, and then continuously replicates them on the destination instance.
In this phase, Database Migration Service doesn't copy actual data from your source tables: instead, it reads information extracted from database log files to replicate changes in the destination. For more information about this mechanism, see Change Data Capture.
You can stop the ongoing replication and promote the migration job when you want to switch your application so that it uses the Cloud SQL for PostgreSQL destination instance as the production database. For a detailed, step-by-step migration guide, see Oracle to Cloud SQL for PostgreSQL migration guide.
Database Migration Service provides extensive logging and observability capabilities to help you monitor the migration progress. These features include real-time diagnostics for replication delay and CDC progress, as well as detailed logs for Cloud SQL for PostgreSQL destination instance health and migration job state.
For more details, see Migration job metrics.
Database Migration Service provides multiple encryption mechanisms you can use for additional security during the migration process. These mechanisms include:
SSL/TLS certificates for encrypting the network connections between Database Migration Service and source databases. For more details, see Encryption overview.
Encryption certificates for securing data movement during full dump and CDC phases. For more details, see CMEK for migration jobs.
To learn more about Oracle data type and feature support in Database Migration Service, see Known limitations.
To get a complete, step-by-step migration walkthrough, see Oracle to Cloud SQL for PostgreSQL migration guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-23 UTC.