eXperDB-DB2PG is a data migration solution that transfers data extracted from various DBMSs to eXperDB or PostgreSQL. Currently, Oracle and Oracle Spatial, MySQL, SQL Server(MS-SQL) and Sybase data can be transferred.
eXperDB-DB2PG is a data migration tool from heterogeneous DBMS to eXperDB (PostgreSQL).
DDL extraction after converting objects (Table, View, Sequence, Index, Constraint) of heterogeneous DBMS to PostgreSQL grammar.
It works on JAVA basis, so there is no restriction on platforms such as Unix, Linux and Windows, and installation is not necessary and can be used easily.
tar -xvf db2pg-vXX.X.X-linux64.tar
chmod 755 *.sh
./setup.sh
vi db2pg.config
## Specifies whether to migrate data from the source DB to the target DB.
DB_WRITER_MODE = true
## Source DBMS Connection Information
SRC_HOST=
SRC_USER=
SRC_PASSWORD=
SRC_DATABASE=
SRC_SCHEMA=
SRC_DB_TYPE=ORA
SRC_PORT=1521
SRC_DB_CHARSET=UTF8
## Specify the migration table in the source DBMS.
## Separate tables with [,]
SRC_INCLUDE_TABLES=table1,table2,table3
## Target DBMS Connection Information
TAR_HOST=
TAR_USER=
TAR_PASSWORD=
TAR_DATABASE=
TAR_SCHEMA=
TAR_DB_TYPE=POG
TAR_PORT=5432
TAR_DB_CHARSET=UTF8
TAR_CONN_COUNT=1
## Specifies whether to perform the Truncate command before data is migrated.
TAR_TRUNCATE=true
./db2pg -c db2pg.config
Copyright (c) 2016-2021, eXperDB Development Team All rights reserved.