Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import oracle dump to PostgreSQL

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).

like image 518
Gandalf StormCrow Avatar asked Feb 11 '26 15:02

Gandalf StormCrow


2 Answers

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.

like image 190
Craig Ringer Avatar answered Feb 13 '26 19:02

Craig Ringer


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.

like image 22
Shine Avatar answered Feb 13 '26 19:02

Shine



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!