RE: datapump export to pipe

From: D'Hooge Freek <Freek.DHooge_at_uptime.be>
Date: Tue, 6 Oct 2009 13:03:28 +0200
Message-ID: <4814386347E41145AAE79139EAA398980D2DF3F364_at_ws03-exch07.iconos.be>



Not a solution for the pipe, but if all you want to do is to compress the export, then you can use the compression parameter:

http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#SUTIL201  

Freek D'Hooge
Uptime
Oracle Database Administrator
email: freek.dhooge_at_uptime.be
tel +32(0)3 451 23 82
http://www.uptime.be
disclaimer

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of ~Jeff~ Sent: dinsdag 6 oktober 2009 6:43
To: tony.adolph.dba_at_gmail.com
Cc: Oracle Discussion List
Subject: Re: datapump export to pipe

Hi Tony

unfortunately it's not possible, as Oracle no longer treats the file sequentially. See metalink #276521.1 , 463336.1

This means that using split and exporting direct to tape is also out.

At least expdp is much quicker than exp :]

cheers-
Jeff Wong

On 06/10/2009, Tony Adolph <tony.adolph.dba_at_gmail.com> wrote:
> Hi all,
>
> Env: Oracle EE 10.2.0.4 RH 4.6
>
> I'm doing exports to a filesystem with limited space so want to compress the
> export on the fly, e.g.
>
> .
> .
> cd $BACKUP_DIR
> if [ ! -p $PIPE ] ; then
> mkfifo $PIPE
> fi
>
> echo "gzipping from $PIPE ..."
> nohup gzip -c < $PIPE > ${DMPFILE}.gz &
>
> echo "expdp started ..."
> expdp $CREDENTIALS \
> DIRECTORY=DP_EXP_DIR \
> DUMPFILE=$PIPE \
> FULL=y \
> LOGFILE=$LOGFILE
> .
> .
>
> BUT,.. as you may have guessed, my plan is flawed as expdp doesn't allow
> writing to a file that already exists, and of course the pipe must (exist
> that is)
>
> Does anyone have a work around for this (that doesn't involve upgrading to
> 11g, buying new disks, exporting to a different dir)
>
> Thanks in advance
> Tony
>

--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 06 2009 - 06:03:28 CDT

Original text of this message