Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: 10053 trace
Sai,
First, make sure you can create and locate a regular SQL Trace file, using either ALTER SESSION SET SQL_TRACE = TRUE or ALTER SESSION SET EVENTS '10046 trace name context forever, level 1' (preferably the latter, since the syntax is so similar to 10053)...
Then, make sure you are using the cost-based optimizer (of course!) and make sure that your SQL statement is being parsed while you are tracing it. To do this, I usually create a column alias for one of the items in the SELECT list and change that column alias (i.e. Increment a number in the alias) each time I run the statement, thus ensuring that the CBO will need to parse. If the CBO doesn't need to parse, then event 10053 doesn't generate trace output...
Hope this helps...
-Tim
on 5/27/03 5:15 PM, Sai Selvaganesan at ssaisundar_at_sbcglobal.net wrote:
> hi gurus
> i am trying to generate 10053 trace in 9i and have met
> with no success.
>
> i used both 'alter session set events' and
> 'dbms_system.set_ev'.
>
> i used the above two to generate 10053 trace for the
> same query in 8i w/o problems.
>
> has anything changed in 9i?
> can you please help me on this?
>
> thanks
> sai
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tim Gorman INET: tim_at_sagelogix.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 Tue May 27 2003 - 23:54:41 CDT