Thats a CBO trace. Have fun trying to read it :) Actually, there was an excellent presentation from a Wolfgang Breitling on this very topic at IOUG. And I believe Cary's site carries it (hotsos.com). John Kanagaraj Oracle Applications DBA DB Soft Inc Work : (408) 970 7002
Listen to great, commercial-free christian music 24x7x365 at http://www.klove.com <http://www.klove.com/> ** The opinions and facts contained in this message are entirely mine and do not reflect those of my employer or customers ** -----Original Message----- Sent: Tuesday, October 01, 2002 10:56 AM To: Multiple recipients of list ORACLE-L I know what a 10046 trace does. What's a 10053 trace? ---- Matt Adams - GE Appliances - [EMAIL PROTECTED] Their fundamental design flaws are completely hidden by their superficial design flaws. - Douglas Adams -----Original Message----- <mailto:[EMAIL PROTECTED]> ] Sent: Tuesday, October 01, 2002 12:42 PM To: [EMAIL PROTECTED] Cc: Adams, Matthew (GEA, MABG, 088130) Importance: High Matt, Have you done a 10053 trace on this query? Jared "Adams, Matthew (GEA, MABG, 088130)" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/30/2002 11:43 AM Please respond to ORACLE-L To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: RE: extremely long parse time OK, I think we're on to something here. The DBA_TAB_COL_STATISTICS shows no rows for tables owned by sys (although strangely, owner is not a column of this table). However, the DBA_ANALYZE_OBJECTS view IS listing objects owned by SYS, which implies that they have been analyzed in the past. Since I don't see any of the statisics filled in on the DBA_TABLES entries for tables owned by SYS, what would you recommend doing at this point? "analyze table sys.XXXXX delete statistics"? ---- Matt Adams - GE Appliances - [EMAIL PROTECTED] Their fundamental design flaws are completely hidden by their superficial design flaws. - Douglas Adams -----Original Message----- <mailto:[EMAIL PROTECTED]> ] Sent: Monday, September 30, 2002 1:27 PM To: '[EMAIL PROTECTED]' Cc: Adams, Matthew (GEA, MABG, 088130) Hmmm...anything SYS in DBA_TAB_COL_STATISTICS or DBA_ANALYZE_OBJECTS? Is the COST column in your PLAN_TABLE null??? Rich Jesse System/Database Administrator [EMAIL PROTECTED] Quad/Tech International, Sussex, WI USA -----Original Message----- <mailto:[EMAIL PROTECTED]> ] Sent: Monday, September 30, 2002 12:38 PM To: Multiple recipients of list ORACLE-L We are using First_rows for the optimizer mode, but the last_analyzed column in DBA_TABLES and DBA_INDEXES is NULL for all objects owned by SYS. The really wierd part is: Changing the query to use rule based optimization (via the /*+ RULE */ hint caused it to execute sub-second. Why would optimization mode affect parsing? Is query optimization considered part of the parsing routine? Matt -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: John Kanagaraj 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).