![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL 1) I found a nice tool, nxtract, (becouse I have only dmp file - a instance of Oracle was gone, and I con't use imp), which extract data to txt files, from dmp. But this tool is limited to 5000 rows, and I need more, for free ( not a new, doesn't it ? ) So whould somebody give me a direction to tool like nxtract, which could read this oracle dmp files ? 2) Or there is direct way to import Oracle file to PostgreSQL ? -- best regars stic |
#3
| |||
| |||
|
|
Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL 1) I found a nice tool, nxtract, (becouse I have only dmp file - a instance of Oracle was gone, and I con't use imp), which extract data to txt files, from dmp. But this tool is limited to 5000 rows, and I need more, for free ( not a new, doesn't it ? ) So whould somebody give me a direction to tool like nxtract, which could read this oracle dmp files ? 2) Or there is direct way to import Oracle file to PostgreSQL ? -- best regars stic Stic, |
#4
| |||
| |||
|
|
stic wrote: Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL 1) I found a nice tool, nxtract, (becouse I have only dmp file - a instance of Oracle was gone, and I con't use imp), which extract data to txt files, from dmp. But this tool is limited to 5000 rows, and I need more, for free ( not a new, doesn't it ? ) Stic, Why not use an editor and create multiple 5000 record files from your Oracle exp file? If you are running on a Unix/Linux system you should be able to use the split command. HTH Jerry |

#5
| |||
| |||
|
|
"stic" <stefantura (AT) klub (DOT) chip.pl> a écrit dans le message de news:cc0gjv$ogc$1 (AT) news (DOT) dialog.net.pl... Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL |
|
Is your dmp very large (? Mb)... |
#6
| |||
| |||
|
|
Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL 1) I found a nice tool, nxtract, (becouse I have only dmp file - a instance of Oracle was gone, and I con't use imp), which extract data to txt files, from dmp. But this tool is limited to 5000 rows, and I need more, for free ( not a new, doesn't it ? ) So whould somebody give me a direction to tool like nxtract, which could read this oracle dmp files ? 2) Or there is direct way to import Oracle file to PostgreSQL ? |
#7
| |||
| |||
|
|
"stic" <stefantura (AT) klub (DOT) chip.pl> wrote Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL Why waste time on reading proprietary format files with third party tools? Get a developers copy of ORACLE (free), install it, import the dump file, spool the tables to flat files. Load into PostgreSQL. Uninstall ORACLE. Done. HTH, Ed (Why do we human beings sometimes insist on doing things the hard way? It's that hammer syndrom again) |
#8
| |||
| |||
|
|
Uzytkownik "Ed prochak" <ed.prochak (AT) magicinterface (DOT) com> napisal w wiadomosci news:4b5394b2.0407080732.649da9d5 (AT) posting (DOT) google.com... "stic" <stefantura (AT) klub (DOT) chip.pl> wrote in message news:<cc0gjv$ogc$1 (AT) news (DOT) dialog.net.pl>... Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL Why waste time on reading proprietary format files with third party tools? Get a developers copy of ORACLE (free), install it, import the dump file, spool the tables to flat files. Load into PostgreSQL. Uninstall ORACLE. Done. HTH, Ed (Why do we human beings sometimes insist on doing things the hard way? It's that hammer syndrom again) And do it every time I need to do this (for example twice a day ?) ;-) -- best regards stic No, at least not with human intervention. Get whoever creates |
#9
| |||
| |||
|
|
Uzytkownik "Ed prochak" <ed.prochak (AT) magicinterface (DOT) com> napisal w wiadomosci news:4b5394b2.0407080732.649da9d5 (AT) posting (DOT) google.com... "stic" <stefantura (AT) klub (DOT) chip.pl> wrote in message news:<cc0gjv$ogc$1 (AT) news (DOT) dialog.net.pl>... Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL Why waste time on reading proprietary format files with third party tools? Get a developers copy of ORACLE (free), install it, import the dump file, spool the tables to flat files. Load into PostgreSQL. Uninstall ORACLE. Done. HTH, Ed (Why do we human beings sometimes insist on doing things the hard way? It's that hammer syndrom again) And do it every time I need to do this (for example twice a day ?) ;-) |
#10
| |||||
| |||||
|
|
"stic" <stefantura (AT) klub (DOT) chip.pl> wrote Uzytkownik "Ed prochak" <ed.prochak (AT) magicinterface (DOT) com> napisal w wiadomosci news:4b5394b2.0407080732.649da9d5 (AT) posting (DOT) google.com... "stic" <stefantura (AT) klub (DOT) chip.pl> wrote in message news:<cc0gjv$ogc$1 (AT) news (DOT) dialog.net.pl>... Hi, Sorry, for this who actaly read comp.databases.oracle.tools, but I realy need a help ;-) My problem is: I need to convert Oracle database from exp file to PostgreSQL database, so what I do is to: 1) convert this dmp file to txt 2) import this file to PostgreSQL Why waste time on reading proprietary format files with third party tools? Get a developers copy of ORACLE (free), install it, import the dump file, spool the tables to flat files. Load into PostgreSQL. Uninstall ORACLE. Done. (Why do we human beings sometimes insist on doing things the hard way? It's that hammer syndrom again) And do it every time I need to do this (for example twice a day ?) ;-) I'll stick to replying here, even though I've also replied to your thread in the ORACLE group. (IOW, I'll stop replying on the ORACLE group.) This may be of interest to others, So I'll keep this here. If the ORACLE feed is twice a day, here are some possible solutions: 1. BUY an ORACLE license and chuck PostgreSQL. You may be surprised that it is not as expensive as you might think. You have no need to converting and you can read the dump file directly. |
|
2. WHY use a ORACLE dump file? It's proprietary. It's binary (well the ASCII representation of binary data). It's not loadable directly into PostgreSQL. If they are sending you data twice a day, get them to send another format. Do you have NO negotiating power in this relationship? A flat file for each table. This should not be hard for an ORACLE DBA to produce. |
|
3. Get a SELECT only account from the ORACLE database and pull the data in yourself via something else (SQL*Plus, PERL/DBI, JAVA/JDBC). |
|
I hope this helps, if not you, then others. For every body, try to avoid this situation, Oracle 9.2 and 9.0.1 dump that |
|
have a great day. U2 ;-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |