Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: gunzip while doing export

RE: gunzip while doing export

From: Ofer Harel <oharel_at_barak013.net.il>
Date: Tue, 07 Oct 2003 07:19:25 -0800
Message-ID: <F001.005D246C.20031007071925@fatcity.com>


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



The information contained in this e-mail message may be privileged and confidential. The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone, or by e-mail and delete the message from your computer. Thank you! Unless otherwise stated, any views or opinions expressed in this e-mail are solely those of the author and do not represent those of Barak I.T.C (1995)The International Telecommunications Services Corp. Ltd.
-- 
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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US