Batch copy PostgreSQL tables to Oracle

Want to batch copy data from PostgreSQL tables to Oracle ?

Try Withdata DBCopier, a PostgreSQL to Oracle converter for Windows, Mac, and Linux, Bulk copy PostgreSQL to Oracle, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Batch copy data from PostgreSQL tables to Oracle tables

Login to PostgreSQL and Oracle -> Select source PostgreSQL tables -> Set target Oracle tables -> Copy PostgreSQL data to Oracle

Choose source PostgreSQL database and logon.

convert PostgreSQL data to Oracle data - Choose PostgreSQL and logon

Choose target Oracle database and logon.

convert PostgreSQL data to Oracle data - Choose Oracle and logon

Click “Convert All Tables” at task dialog.

Batch import data from PostgreSQL tables to Oracle tables - Task Window

then show the wizard.

1. Select source PostgreSQL tables.

Batch convert data from PostgreSQL tables to Oracle tables - Open Source schema

2. List target Oracle tables.

Batch extract data from PostgreSQL tables to Oracle tables - select destination schema

3. Select Oracle tables to import.

Batch import data from PostgreSQL tables to Oracle tables - select tables

4. Transfer data from PostgreSQL tables to Oracle.

Batch copy data from PostgreSQL tables to Oracle tables - batch import


More about PostgreSQL to Oracle converter

See also:

PostgreSQL → Oracle reference

Type mapping

Value kindin PostgreSQLin Oracle
IntintegerNUMBER(10)
BigintbigintNUMBER(19)
Decimalnumeric(p,s)NUMBER(p,s)
Floatdouble precisionBINARY_DOUBLE
Textvarchar(n)VARCHAR2(n)
Long texttextCLOB
DatedateDATE
DatetimetimestampTIMESTAMP
BinarybyteaBLOB
BooleanbooleanNUMBER(1)
JSONjsonbCLOB

Dialect differences

Both PostgreSQL and Oracle are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.

Propertyin PostgreSQLin Oracle
port54321521
row limitLIMIT nFETCH FIRST n ROWS ONLY
datestimestamp, timestamptz, date, timeDATE, TIMESTAMP
long textTEXTCLOB, NCLOB
binaryBYTEABLOB, BFILE

Command line

SideCommand
PostgreSQLpg_dump or COPY ... TO
Oracleexp / expdp
Oracle (load)sqlldr (SQL*Loader)
PostgreSQL (load)COPY ... FROM

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.


Posted

in

by