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: Import from a dump which was split and compressed while export.

Re: Import from a dump which was split and compressed while export.

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Wed, 27 Feb 2002 15:18:27 -0800
Message-ID: <F001.0041A808.20020227151827@fatcity.com>


logfile is so you can SEE the results of the import

if file1 file2 file3 are the names of the files you created with the split and export then you use those.

for example, suppose the files you created were named firstexportfile and secondexportfile and you want to record the output of the import in a file named importlogfile

you would cd to the directory where firstexportfile and secondexportfile are.

create a shell script (called splitimport.sh) with the following lines in it and then run the shell script. I would suggest you read up on Unix commands as well. For what it's worth, the way to do this is documented in a note on MetaLink. I don't have the exact reference but you can search for it

#!/bin/sh
mkfifo wrkpipe
umask 000

#
# start the reader from the import pipe
#

imp "/" file=wrkpipe full=y commit=y buffer=4096000 LOG=importlogfile &
#
# create the import stream coming from the pipes
#

cat firstexportfile secondexportfile | uncompress | dd of=wrkpipe
#
# clean up the import pipe
#

rm wrkpipe
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rachel Carmichael
  INET: wisernet100_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Wed Feb 27 2002 - 17:18:27 CST

Original text of this message

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