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
[EMAIL PROTECTED]



-----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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to