Migrating to PostgreSQL

Migration pages for moving Oracle, MySQL and Microsoft SQL Server databases to PostgreSQL with documented open-source tools.

Migrate from Oracle to PostgreSQL

Moving Oracle databases to PostgreSQL with Ora2Pg: running the migration assessment report, converting PL/SQL to PL/pgSQL, planning the offline data load and validating data before cutover.

Migrate from MySQL to PostgreSQL

Moving MySQL or MariaDB schemas and data to PostgreSQL with pgloader or Ora2Pg: type mapping, schema discovery, on-the-fly transformations, application query changes and cutover planning.

Migrate from SQL Server to PostgreSQL

Moving Microsoft SQL Server databases to PostgreSQL with pgloader: automatic discovery of tables, indexes and keys, T-SQL code that must be rewritten by hand, licensing savings and a phased cutover.

Migrate from IBM Db2 to PostgreSQL

Moving Db2 for Linux, UNIX and Windows databases to PostgreSQL with Dalibo's db2topg scripts: what converts automatically, why Db2 for z/OS is out of scope, data transfer, SQL rewrites and validation.

Migrate from SQLite to PostgreSQL

Moving an application from SQLite to a PostgreSQL server with pgloader: the one-line migration, default options for tables, indexes and sequences, type differences to check, and changes to application connection handling.

Moving PostgreSQL from Windows to Linux

Re-platforming a PostgreSQL server from Windows to Linux: why physical copies and pg_upgrade cannot cross platforms, logical replication or dump and restore, collation and encoding checks, and cutover.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.