db_migrator
Tools to migrate other databases to PostgreSQL
Repository
cybertec-postgresql/db_migrator
https://github.com/cybertec-postgresql/db_migrator
Source
db_migrator-RELEASE_1_0_0.tar.gz
db_migrator-RELEASE_1_0_0.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
db_migrator | 1.0.0 | ETL | BSD-3-Clause | SQL |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 9550 | db_migrator | No | No | No | Yes | No | Yes | - |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0.0 | 1817161514 | db_migrator | - |
| RPM | PIGSTY | 1.0.0 | 1817161514 | db_migrator_$v | - |
| DEB | PIGSTY | 1.0.0 | 1817161514 | postgresql-$v-db-migrator | - |
Build
You can build the RPM / DEB packages for db_migrator using pig build:
Install
You can install db_migrator directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
A framework for migrating databases from other data sources to PostgreSQL using foreign data wrappers and source-specific plugins.
Enabling
Available Plugins
- ora_migrator - Oracle migration
- mysql_migrator - MySQL/MariaDB migration
- mssql_migrator - Microsoft SQL Server migration
Complete Migration Example (Oracle)
Step-by-Step Migration
For more control, execute migration in stages:
Key Features
- Migrates tables, sequences, indexes, constraints, views, functions
- Data type mapping from source to PostgreSQL types (customizable)
- Continues on errors, reporting which objects failed
- Uses FDW staging schema for metadata inspection before migration
- Schema and object name translation via plugin functions
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)