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: How to take sql*loader trace

Re: How to take sql*loader trace

From: Jay Hostetter <jhostetter_at_decommunications.com>
Date: Mon, 11 Aug 2003 06:59:36 -0800
Message-ID: <F001.005CA17F.20030811065936@fatcity.com>


Issue this command from SQL*Plus prior to starting your SQL*Loader session:

ALTER SYSTEM SET max_dump_file_size = unlimited; ALTER SYSTEM SET timed_statistics = true; ALTER SYSTEM SET EVENTS '10046 trace name context forever, level 12';

Then, issue this command after the session has started:

ALTER SYSTEM SET EVENTS '10046 trace name context off';

This will trace all NEW sessions that start between the two SET EVENTS commands.

Jay

>>> senthilkumard_at_summitworks.com 08/11/03 10:39AM >>>
Hi All,

I'm loading a set of data into one of my schema. And wanted to take the trace files also.

I tried the follwoing.

  1. Identified the sid,serila# for the sql*loader session.
  2. used the follwoing, exec sys.dbms_system.set_sql_trace_in_session(19,11250,TRUE);

but this is not generation any trace files. But if I trun my system to sql_trace=TRUE, I'm able to collect the trace details. I don't want to do this.

I want to take the trace only for the sql*loader session. How do i do that.

TIA,
Senthil.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net 
-- 
Author: Senthil Kumar
  INET: senthilkumard_at_summitworks.com 

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: 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)



**DISCLAIMER
This e-mail message and any files transmitted with it are intended for the use of the individual or entity to which they are addressed and may contain information that is privileged, proprietary and confidential. If you are not the intended recipient, you may not use, copy or disclose to anyone the message or any information contained in the message. If you have received this communication in error, please notify the sender and delete this e-mail message. The contents do not represent the opinion of D&E except to the extent that it relates to their official business.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Jay Hostetter
  INET: jhostetter_at_decommunications.com

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: 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 Mon Aug 11 2003 - 09:59:36 CDT

Original text of this message

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