Want to migrate from Oracle to PostgreSQL ?
Try Withdata DBCopier, a Oracle to PostgreSQL converter for Windows, Mac, and Linux, Migrate Oracle to PostgreSQL, Easy and Fast.
- Step by Step, just a few mouse clicks.
- Create PostgreSQL tables with auto mapping data types. Create PostgreSQL indexes.
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
Migrate from Oracle to PostgreSQL
Login to Oracle -> Login to PostgreSQL -> Select tables to migrate -> Migrate from Oracle 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. Open source Oracle.
2. Set “Import Type”.
3. Select PostgreSQL tables to migrate.
4. Migrate from Oracle to PostgreSQL.
Create PostgreSQL tables. Copy Oracle data to PostgreSQL. Create PostgreSQL indexes.
FAQ
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.