Want to sync data from Oracle to PostgreSQL ?
Try Withdata DBCopier, a Oracle to PostgreSQL converter for Windows, Mac, and Linux, Synchronize Oracle to PostgreSQL, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support Windows, Linux, and macOS.
Download Withdata DBCopier
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Synchronize data from Oracle to PostgreSQL
Login to Oracle and target PostgreSQL -> Select source Oracle tables -> Set target PostgreSQL tables -> Sync Oracle data to PostgreSQL
Choose source Oracle database and logon.
Choose target PostgreSQL database and logon.
Click “Wizard – Import All Tables” at task dialog.
then show the wizard.
1. Select source Oracle tables to sync.
2. List target PostgreSQL tables.
Set “Import Type” to “Replace”, it will do a full synchronization.
Or set “Import Type” to “Upsert”, it will do a upsert synchronization.
3. Select PostgreSQL tables to sync.
4. Sync Oracle data to PostgreSQL.
More about Oracle to PostgreSQL converter
Download Withdata DBCopier
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
See also:
Oracle → PostgreSQL reference
Type mapping
| Value kind | in Oracle | in PostgreSQL |
|---|---|---|
| Int | NUMBER(10) | integer |
| Bigint | NUMBER(19) | bigint |
| Decimal | NUMBER(p,s) | numeric(p,s) |
| Float | BINARY_DOUBLE | double precision |
| Text | VARCHAR2(n) | varchar(n) |
| Long text | CLOB | text |
| Date | DATE | date |
| Datetime | TIMESTAMP | timestamp |
| Binary | BLOB | bytea |
| Boolean | NUMBER(1) | boolean |
| JSON | CLOB | jsonb |
Dialect differences
Both Oracle and PostgreSQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in Oracle | in PostgreSQL |
|---|---|---|
| port | 1521 | 5432 |
| row limit | FETCH FIRST n ROWS ONLY | LIMIT n |
| dates | DATE, TIMESTAMP | timestamp, timestamptz, date, time |
| long text | CLOB, NCLOB | TEXT |
| binary | BLOB, BFILE | BYTEA |
Command line
| Side | Command |
|---|---|
| Oracle | exp / expdp |
| PostgreSQL | pg_dump or COPY ... TO |
| PostgreSQL (load) | COPY ... FROM |
| Oracle (load) | sqlldr (SQL*Loader) |
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.