Migrate data to AlloyDB Omni

This page outlines the process to migrate data from PostgreSQL or Oracle to AlloyDB Omni.

PostgreSQL to AlloyDB Omni

Use the following tools based on your migration complexity and downtime to migrate data from PostgreSQL to AlloyDB Omni:

Migration type Tool
Simple migration with sufficient downtime pg_dump to backup the existing database and pg_restore to restore the backup to the new database.
Complex migration with sufficient downtime pgloader to stream data from the source to the destination.
Complex migration with minimal downtime pglogical to replicate data from the source to the destination.

Oracle to AlloyDB Omni

If you have sufficient downtime to move the volume of data in Oracle and convert all Oracle resident application logic to PostgreSQL, use Ora2Pg for schema conversion, data movement, and code conversion.

If you have minimal downtime for the migration, use the following tools:

To migrate Use
Code and schema Google Cloud Database Migration Service to migrate the schema and code
Ora2Pg for schema conversion, data movement, and code conversion
Change Data Capture (CDC) tool as required to identify and captures data from, Oracle relational tables, and makes the change data available for use by applications.
Data Equalum to stream the data.