migrate from PostgreSQL to Oracle

From: jo <jose(dot)soares(at)sferacarta(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: migrate from PostgreSQL to Oracle
Date: 2012-10-25 13:50:08
Message-ID: 50894390.4040509@sferacarta.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I'm working with same db schema in PostgreSQL and Oracle,
We mainly work in PostgreSQL but sometimes we need to copy schema and
data from pg to oracle
because some our customers want to use oracle instead of pg.

Thus I'm looking for some linux script to migrate from pg to oracle.
At the moment, I dump data from pg using pg_dump in the format:
INSERT INTO table (columns) (values)
then I load it into the Oracle db using cx_Oracle
this procedure is so slow, and sometimes I have to edit and modify
data manually, because some INSERT format aren't compatible.
Is there any interesting linux script to do this more easily? something
like the ora2pg script.

thanks

j

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2012-10-25 14:03:30 Re: migrate from PostgreSQL to Oracle
Previous Message Tom Lane 2012-10-25 13:40:04 Re: Disable unix-domain sockets?