Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Import thru pipe if .gz possible?
Here is one I wrote a while back (mostly copied from elsewhere on the
web):
$ cat pipe_imp.ksh
export USERNAME=axxxxxxxx
export PASSWORD=xxxxxxxxx
rm $USERNAME.pipe
/usr/sbin/mknod $USERNAME.pipe p
gunzip -c > $USERNAME.pipe < mydb_fullexport.20070*.exp.gz &
imp $USERNAME/$PASSWORD ignore=y full=y commit=y buffer=8192000
log=imp.log file=$USERNAME.pipe
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of J. Dex
Sent: Thursday, March 15, 2007 10:19 AM
To: oracle-l_at_freelists.org
Subject: Import thru pipe if .gz possible?
I have got a file that is gzipped. Is it possible to do a database
import
through a pipe from a .gz file? Does anybody have a script for doing
this?
I am having a space issue and need to import the data but if I unzip
the
file first than I don't have enough disk space so I am wondering if
there is
a way to keep it .gz but still import.
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Mar 15 2007 - 11:13:49 CDT
![]() |
![]() |