Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h9T1RS403408
 for <oracle-l@orafaq.net>; Tue, 28 Oct 2003 19:27:28 -0600
X-ClientAddr: 66.27.56.213
Received: from www2.fatcity.com (rrcs-west-66-27-56-213.biz.rr.com [66.27.56.213])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h9T1RRc03403
 for <oracle-l@orafaq.net>; Tue, 28 Oct 2003 19:27:27 -0600
Received: (from root@localhost)
 by www2.fatcity.com (8.11.6/8.11.6) id h9SMbfn06618
 for oracle-l@orafaq.net; Tue, 28 Oct 2003 14:37:41 -0800
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D4D6A; Tue, 28 Oct 2003 14:34:24 -0800
Message-ID: <F001.005D4D6A.20031028143424@fatcity.com>
Date: Tue, 28 Oct 2003 14:34:24 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Tanel Poder" <tanel.poder.003@mail.ee>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Tanel Poder" <tanel.poder.003@mail.ee>
Subject: Re: Re: ora-600 question
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

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" <ORACLE-L@fatcity.com>
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" <John.Shaw@correctionscorp.com>
> > Date: 2003/10/28 Tue PM 02:59:25 EST
> > To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
> > Subject: Re: ora-600 question
> >
> > TOAD puts a hint in.
> >
> > >>> ryan_oracle@cox.net 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: <ryan_oracle@cox.net
> >   INET: ryan_oracle@cox.net
> >
> > 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@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).
> >
> >
> >
> >
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Odland, Brad
>   INET: Brad.Odland@qtiworld.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@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).
>


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tanel Poder
  INET: tanel.poder.003@mail.ee

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@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).

