Next time to to an export with compress in it and then when wanting to import you do an invert of what you do to do the export.
For oracle 8.x there is a bug, so it is important to export with the parameter direct=y:
After the export (EXP) process, the produced dump file may contain
corrupted data. [BUG:2410612] <ml2_documents.showDocumen
Example of compressed exports in unix .sh:
First, crete the pipe in the directory of the export like this:
mknod exp_pipe.dmp p
Then create the script: exp_db.sh
After creating the script change the permissions of the script:
chmod u+x exp_db.sh
Create the "inverted" import script:
First create a pipe for the import, in this way you avoid the "break pipe" that once happened to me:
mknod imp_pipe.dmp p
Example of the imp_db.sh script:
Then change the permissions in the same way for the imp_db.sh script
Main Topics
Browse All Topics





by: johnsonePosted on 2008-05-11 at 04:15:49ID: 21542110
The imp command is made to read .dmp files.
You can run
imp file=<file>.dmp show=y indexfile=indfil.txt
That should create a file called indfil.txt that should show you the contents of the .dmp file.