Hi! Just for the record, in 9.2 some views such dba_extents use "ordered" and "use_nl" hints, which force usage of CBO. If you don't have statistics calculated nor optimizer_dynamic_sampling set to at least 2, then you'll be using CBO with default statistics, which usually are quite misleading.
Tanel. ----- Original Message ----- To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 11:09 PM > The data dictionary should not have any statistics on them and thus will use > rule as a "rule" so to speak. > > If you have run stats on the data dictionary you coul dbe running into some > odd bugs. > > > -----Original Message----- > Sent: Tuesday, October 28, 2003 2:49 PM > To: Multiple recipients of list ORACLE-L > > > does the data dictionary still use rule by support? any idea why toad would > bother slipping it in? > > > > From: "John Shaw" <[EMAIL PROTECTED]> > > Date: 2003/10/28 Tue PM 02:59:25 EST > > To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> > > Subject: Re: ora-600 question > > > > TOAD puts a hint in. > > > > >>> [EMAIL PROTECTED] 10/28/2003 1:29:25 PM >>> > > does toad or the oracle instance itself slip in rule hints? We got an > ora-600 error off of a data dictionary read. i think it has to do with > explain plan. > > > > ORA-00600: internal error code, arguments: [17182], [2325084336], [], [], > [], [], [], [] > > Current SQL statement for this session: > > select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#, > sample_size, minimum, maximum, distcnt, lowval, hiva > > l, density, col#, spare1, spare2, avgcln from hist_head$ where obj#=:1 and > intcol#=:2 > > > > -- > > Please see the official ORACLE-L FAQ: http://www.orafaq.net > > -- > > Author: <[EMAIL PROTECTED] > > 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). > > > > > > > > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.net > -- > Author: Odland, Brad > 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). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder 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).
