I've uses the UNIX split command successfully with Oracle 7.3.4:
# set maximum file size for each chunk of the export file
#
MAXFILESIZE=1500m
export MAXFILESIZE
#
# create filenames for the parts of the backup
#
FILENAME1=$BACKUP_DIR/exporthrprd1.dmp
FILENAME2=$BACKUP_DIR/exporthrprd2.dmp
FILENAME3=$BACKUP_DIR/exporthrprd3.dmp
LOGFILE=${BACKUP_DIR}/ora_export.log
#
# create the pipes
#
mkfifo exportpipeaa
mkfifo exportpipeab
mkfifo exportpipeac
mkfifo wrkpipe
umask 000
#
# start the readers from the pipes to create the export files
#
dd if=exportpipeaa of=$FILENAME1 &
dd if=exportpipeab of=$FILENAME2 &
dd if=exportpipeac of=$FILENAME3 &
#
# start the reader from the wrkpipe to compress and split the export
#
dd if=wrkpipe|split -b $MAXFILESIZE - exportpipe &
#
# run the dd without the compress
#
#dd if=wrkpipe|split -b $MAXFILESIZE - exportpipe &
#
# start the export for real
#
$ORACLE_HOME/bin/exp / FILE=wrkpipe OWNER=SYSADM DIRECT=Y BUFFER=5120000
LOG=$LOGFILE
#
# check return code from export
#
RetCode=$?
if [ ${RetCode} -ne 0 ]
then
echo $(date +%Y%m%d-%H%M%S) ${script} --WARNING-- export for
${ORACLE_SID} failed >> ${BACKUP_DIR}/expsplit.log
#echo $(date +%Y%m%d-%H%M%S) ${script} --ERROR-- export for
${ORACLE_SID} failed
#exit 1
fi
#
# clean up after ourselves
#
rm exportpipeaa exportpipeab exportpipeac wrkpipe
#
# if you haven't used all the pipes, the dd may still linger on
# make sure to REALLY clean up
#
ps -ef|grep exportpipe|grep -vi grep|awk '{printf ("kill -9 %d;
\n",$2)}'>kill.lst
chmod u+x kill.lst
sh kill.lst
rm kill.lst
-----Original Message-----
Sent: Friday, January 09, 2004 8:14 AM
To: Multiple recipients of list ORACLE-L
You could migrate the database to 8i, or you could use sql to split the
table into 2GB and do the export in pieces, or you could just shut the
database down and do a cold backup of the database, retaining any media
you need to reinstall Oracle 7. Make sure if you are in archivelog mode
that you backup all logfiles.
Allan
-----Original Message-----
[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 7:59 AM
To: Multiple recipients of list ORACLE-L
Hi DBAs,
Because of some requirements from one of our vendor, we still have a
database running Oracle7.3.4 on WindowsNT and since this package is no
longer used, so we want to export the content of this database. The
database is around 60G, one table is 55G. So a simple export on release
7 will crash when I will get 2G of dump file.
The export utility for release 7 doesn't allow us to create multiple
files, but the export utility for release 8 does. I know that they
recommend to always use the lower version of export, but is there a way
to use export 8i and create multiple files on a Oracle7.3.4 database?
If not, what can I do?
Thanks
Luc
---------
Luc Demanche
AstraZeneca R&D Montreal
Oracle Database Administrator
514.832.3200 x2356
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
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).
________________________________________________________________________
______
This email is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information.
Copying, forwarding or distributing this message by persons or entities
other than the addressee is prohibited. If you have received this email
in error, please contact the sender immediately and delete the material
from any computer. This email may have been monitored for policy
compliance. [021216]
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Nelson, Allan
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: Shrake, Jolene
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).