RE: gunzip while doing export
> How to compress(gunzip format) while doing export > itself? I know i have to use PIPE but somehow i > couldn't succeed. (umask 077 ; mknod gz_pipe p) gzip -c myfile.dmp.gz & exp [user] file=gz_pipe ... -- My employers like me, but not enough to let me speak for them. Greg Norris Sprint LTD Database Administration -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Norris, Gregory T [ITS] 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).
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 [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).
Re: gunzip while doing export
mknod expdat.dmp p exp system/manager full=yes direct=yes log=/dev/console & dd if=expdat.dmp|bzip2|dd of=/dir/full_exp.dmp.bz2 Your sysadmin will love you, especially if your database has many objects, shoewing up in the log file. On Tue, 2003-10-07 at 10:44, Oracle DBA wrote: > 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 > > __ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Mladen Gogala Oracle DBA Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Mladen Gogala 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).
RE: gunzip while doing export
# Create a Unix named pipe mknod /tmp/exp_pipe p # Start Compress through the pipe compress < /tmp/exp_pipe > $dmpfile.Z & # Perform the export exp / full=y file=/tmp/exp_pipe log=$logfile consistent=y direct=y recordlength=65535 -Original Message- Sent: Tuesday, October 07, 2003 10:45 AM 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 __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Oracle DBA 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Rothouse, Michael 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).