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: Export taking to long

RE: Export taking to long

From: Seema Singh <oracledbam_at_HOTMAIL.COM>
Date: Tue, 09 Apr 2002 09:23:49 -0800
Message-ID: <F001.0043F9F0.20020409092349@fatcity.com>


Ron
Let me know which version of oracle you are running? If it taking longer or longer?
Following may help you to reduce export time -Try to take export in one file
-Try to take on diffrent disk wich has less IO Thx
-Seema

>From: Hately Mike <Mike.Hately_at_churchill.com>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: RE: Export taking to long
>Date: Tue, 09 Apr 2002 07:58:25 -0800
>
>Ron,
>
>you're taking a lot of steps that I would take myself.
>Which part of the machine starts to glow when you run this?
>I'll assume that the target file is not on a disk that's shared with any
>database files.
>Running sar for the first few minutes of the export will probably show you
>where your bottleneck is.
>I'd suspect disks or memory so sar -du would probably do to give you a
>steer.
>Do you have any Oracle wait statistics for the period it was running?
>
>BTW Ron, when you run that export are you sure that your password is
>hidden?
>
>It should show up on the process list if you run it like that.
>
>Cheers,
>Mike
>
>
>-----Original Message-----
>
>
>I have an export of a 16G database that is consistently taking 6 hours to
>export.
>It doesn't matter what time of the day or night the script is executed.
>There is
>very little activity on the server. Any ideas?
>
>#!/bin/ksh
>export ORACLE_SID=adprod
>export ORACLE_HOME=`grep $ORACLE_SID /etc/oratab | cut -d : -f2`
>PATH=$PATH:$ORACLE_HOME/bin:/usr/local/bin:.
>export USERPASS=system/sysada2
>#
># Create a new pipe each time
>#
>if [ -p exp_pipe_$ORACLE_SID ]
> then rm exp_pipe_$ORACLE_SID
>fi
>mknod exp_pipe_$ORACLE_SID p
>
>OUTFILE="/oracle_dba/expimp/adprod/adprod_exp_full_`date '+%m%d%y'`.dmp.Z"
>LOGFILE="/oracle_dba/expimp/adprod/adprod_exp_full_`date '+%m%d%y'`.log"
>#
># Begin compress job and export to pipe with userid and password hidden
>#
>compress < /oracle_dba/expimp/adprod/exp_pipe_adprod > $OUTFILE &
>exp $USERPASS full=y compress=n consistent=y recordlength=65535 direct=y
>file=/oracle_dba/expimp/adprod/exp_pipe_adprod log=
>$LOGFILE
>
>Ron Smith
>DBA
>Kerr-McGee Corp
>
>
>
>____________________________________________________________________________
>________________________
>
>This email and any attached to it are confidential and intended only for
>the
>individual or
>entity to which it is addressed. If you are not the intended recipient,
>please let us know
>by telephoning or emailing the sender. You should also delete the email
>and
>any attachment
>from your systems and should not copy the email or any attachment or
>disclose their content
>to any other person or entity. The views expressed here are not
>necessarily
>those of
>Churchill Insurance Group plc or its affiliates or subsidiaries. Thank you.
>Churchill Insurance Group plc. Company Registration Number - 2280426.
>England.
>Registered Office: Churchill Court, Westmoreland Road, Bromley, Kent BR1
>1DP.
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Hately Mike
> INET: Mike.Hately_at_churchill.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).



Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Seema Singh
  INET: oracledbam_at_hotmail.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 Tue Apr 09 2002 - 12:23:49 CDT

Original text of this message

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