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: Should we stop analyzing?

RE: Should we stop analyzing?

From: Poras, Henry R. <Henry_Poras_at_dfci.harvard.edu>
Date: Wed, 31 Dec 2003 06:59:28 -0800
Message-ID: <F001.005DB5C8.20031231065928@fatcity.com>


Wolfgang,
I don't have 9i available at the moment so I can't test this. Just wondering if a 10053 trace shows you if the statistics it is using are gathered from dynamic sampling.

Henry

-----Original Message-----
Wolfgang Breitling
Sent: Tuesday, December 30, 2003 6:24 PM To: Multiple recipients of list ORACLE-L

The CBO will do dynamic sampling automatically provided the conditions are met. The conditions that need to be met depend on the dynamic_sampling initialization parameter in effect for the session. The default is 1 which practically disables dynamic sampling. 0 will totally disable it but IMHO the conditions for dynamic_sampling=1 are so rare (in practice) that one can regard it as off.
BTW, even if the CBO goes to dynamic sampling that does not guarantee that it will use the statistics it did gather this way.

At 03:24 PM 12/30/2003, you wrote:
>Tanel,
>
>I know the values, you are missing my question ... let me re-phrase it ...
>
>1. To have CBO use dynamic sampling do you have to specify the hint?
>or
>2. CBO will do that automatically?
>
>Just to let you know, Oracle 9ir2 docs main page is my home page on
>Mozilla firebird browser and Metalink is my homepage on IE.
>Raj
>-------------------------------------------------------------------------------
-
>Rajendra dot Jamadagni at nospamespn dot com
>All Views expressed in this email are strictly personal.
>QOTD: Any clod can have facts, having an opinion is an art !
>
>
>-----Original Message-----
>Sent: Tuesday, December 30, 2003 2:44 PM
>To: Multiple recipients of list ORACLE-L
>
>
>Go to tahiti.oracle.com and search for the optimizer_dynamic_sampling
>parameter, you'll see descriptions for it's different values there.
>
>Tanel.
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author: Jamadagni, Rajendra
> INET: Rajendra.Jamadagni_at_espn.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).

Wolfgang Breitling
Oracle7, 8, 8i, 9i OCP DBA
Centrex Consulting Corporation
http://www.centrexcc.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Wolfgang Breitling
  INET: breitliw_at_centrexcc.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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Poras, Henry R.
  INET: Henry_Poras_at_dfci.harvard.edu

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 Wed Dec 31 2003 - 08:59:28 CST

Original text of this message

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