pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jo <jose.soares@sferacarta.com>
To: pgsql-admin@postgresql.org
Subject: migrate from PostgreSQL to Oracle
Date: Thu, 25 Oct 2012 15:29:29 +0200
Message-ID: <50893EB9.70306@sferacarta.com> (raw)

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






view thread (4+ messages)  latest in thread

Message-ID: <50893EB9.70306@sferacarta.com>
Permalink:  ../50893EB9.70306@sferacarta.com/
Also on:    postgresql.org/message-id/50893EB9.70306@sferacarta.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jose.soares@sferacarta.com
  Subject: Re: migrate from PostgreSQL to Oracle
  In-Reply-To: <50893EB9.70306@sferacarta.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox