3

I have a plain text not oracle binary dump. How can I import this to postgres? Are there tools available for this out there? Or is there some other one, anyone did this before?

What I though is to convert one dump (oracle) into another dump (postgres).

2
  • How was this "plain text" dump created? What form is it in? Commented Jul 25, 2012 at 14:11
  • Probably it's better to ask dba.stackexchange.com Commented Jul 25, 2012 at 15:21

3 Answers 3

2

Check out ETL tools like Talend and Pentaho for conversion between Oracle and PostgreSQL.

From an Oracle dump it's going to be much more difficult. Your best bet is almost certainly to load it into an Oracle instance and then use migration/ETL tools from there. Depending on the dump size, features required, etc, you might be able to use a free Oracle version for this.

Sign up to request clarification or add additional context in comments.

Comments

1

I don't think it is feasible in an easy immediate way. Is the plain text in sqlloader format? I think it may be easier for you, if the database size isn't huge, to export DDL and then data in INSERT format.

An alternative would be a migration tool, such as Talend, but again, it isn't immediate. The shortest path go through standard SQL, IMHO.

Comments

1

With newer PostgreSQL versions (9.1 or later) you might be able to use a foreign data wrapper to access the Oracle schema from within your PostgreSQL database, e.g.:

http://laurenz.github.io/oracle_fdw/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.