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: sqlplus Connect Slow on

RE: sqlplus Connect Slow on

From: Rachel Carmichael <wisernet100_at_yahoo.com>
Date: Wed, 29 May 2002 05:38:28 -0800
Message-ID: <F001.0046DF51.20020529053828@fatcity.com>


it's possible this is (inadvertently) an Oracle Trace problem as Oracle Trace is enabled by default from 7.3.2 on in Unix

Metalink note 45482.1 has information on how to disable it (see below). I've seen this happen in just this way.

  Workaround A - No Oracle Trace output required:


 
  1. Shut down all databases and listeners.
  2. Remove the Oracle Trace files:
	  Unix				    NT 
	  ~~~~				    ~~ 
          cd $ORACLE_HOME/otrace/admin	    cd orant\otrace73\admin 
          rm -f *.dat	    	    	    del *.dat 
      					    Reboot the NT server 
 
 

    Workaround B - Disable Oracle Trace on specific connections



      NB: This workaround is not applicable to NT.
  1. Shutdown and remove the trace configuration files as in Workaround A.
  2. Reinitialise the Oracle Trace files by typing 'otrccref' in the otrace/admin directory.
  3. To disable Oracle Trace for a particular session set the environment variable EPC_DISABLED to TRUE. Eg: In a Bourne script: EPC_DISABLED=TRUE; export EPC_DISABLED
             In the C-Shell: 
                setenv EPC_DISABLED TRUE 
 
      4. To set EPC_DISABLED=TRUE for SQL*Net connections you can
modify  
	 the 'SID_LIST_listener' clause in the 'listener.ora' file and add: 
 

(ENVS='EPC_DISABLED=TRUE')
to the SID_DESC for each 7.3 database. Add the entry AFTER the (ORACLE_HOME=...) clause. Eg: SID_LIST_LISTENER= (SID_LIST= (SID_DESC=
(SID_NAME=DB1)
(ORACLE_HOME=/oracle/OFA_base/app/oracle/product/7.3.2)

(ENVS='EPC_DISABLED=TRUE')
) (SID_DESC=
(SID_NAME=DB2)
(ORACLE_HOME=/oracle/OFA_base/app/oracle/product/7.3.2)

(ENVS='EPC_DISABLED=TRUE')
) ) By using two listener processes you can have one SQL*Net alias which allows tracing and another that has tracing disabled. 5. Restart and databases and SQL*Net listeners.

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.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 May 29 2002 - 08:38:28 CDT

Original text of this message

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