Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: gunzip while doing export
Sami,
A short explanation for gzip in Unix environment (probably the same for gunzip)
Export
set expfile= ...
set logfile= ...
set Pipefile=/tmp/exp_pipe1
mknod $Pipefile p
cat $Pipefile | gzip -c1 > $expfile &
exp user/password file=$Pipefile log=$logfile ...
\rm -f $Pipefile
######
Import
set expfile= ...
set logfile= ...
set Pipefile=/tmp/imp_pipe1
mknod $Pipefile p
gzip -dc < $impfile > $Pipefile &
imp user/password file=$Pipefile log=$logfile ...
\rm -f $Pipefile
regards
Ofer Harel
DBA team
Barak ITC
oharel_at_barak013.net.il
-----Original Message-----
Sent: Tuesday, October 07, 2003 4:45 PM
To: Multiple recipients of list ORACLE-L
Hi List,
How to compress(gunzip format) while doing export itself? I know i have to use PIPE but somehow i couldn't succeed.
Any help would be appreciated.
Thanks
Sami
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Ofer Harel INET: oharel_at_barak013.net.il Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Oct 07 2003 - 10:19:25 CDT
![]() |
![]() |