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: System Statistics and the CBO

Re: System Statistics and the CBO

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Fri, 17 Jun 2005 11:32:57 -0600
Message-ID: <42B30949.9020209@centrexcc.com>

John Smiley wrote:

> Mladen,
>
> She was asking why the CBO chose a different index with system stats
> than without. By comparing the traces from each case, she will find
> the answer. A 10053 trace is a dump of the decision tree used by the
> CBO to arrive at an execution plan. It is an outstanding tool in
> gaining a better understanding of CBO behaviour.
>
> Patty,
>
> If you'll also provide the output from autotrace with statistics from
> each case, that will provide valuable information as well. In fact, a
> 10046 level 12 trace for each case would be even better, but may be
> too large to send to the group. Feel free to send them directly to me
> if you like.
>

But a 10046 trace will not tell you WHY the optimizer chose one plan over another. It tells you where the time is spent executing the chosen plan.

-- 
Regards

Wolfgang Breitling
Centrex Consulting Corporation
www.centrexcc.com
--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jun 17 2005 - 13:38:12 CDT

Original text of this message

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