Heterogeneous migrations Stay organized with collections Save and categorize content based on your preferences.
A heterogeneous migration moves data between different database technologies.The database engine of the source, such as Oracle differs from the databaseengine of the destination, such as PostgreSQL.
Heterogeneous migrations are more complex than homogeneous migrations due todifferences in schema structure, data types, and metadata components between thesource database and the destination database. Database Migration Service provides tools,such as Gemini-assisted schema and code conversion, that help youconvert the schema and objects from your source database into a format that iscompatible with your destination database.
Heterogeneous migrations use replication based on Change Data Capture (CDC) toprocess ongoing changes.
For more information, see supported scenarios.
Supported scenarios
Database Migration Service supports the following heterogeneous migrations:
- Migrate from Oracle to Cloud SQL for PostgreSQL
- Migrate from Oracle to AlloyDB for PostgreSQL
- Migrate from SQL Server to Cloud SQL for PostgreSQL
- Migrate from SQL Server to AlloyDB for PostgreSQL
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.