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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-06 UTC."],[],[]]