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: CBO - hash join vs nested loops

Re: CBO - hash join vs nested loops

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Mon, 05 Dec 2005 10:23:53 -0700
Message-ID: <439477A9.50905@centrexcc.com>


Laimutis,

You seem to confuse object statistics, which gather statistics about tables, columns, and indexes, with system statistics which gather statistics about cpu speed, average # of block in a multi-block read, average speed of single-block and of multi-block reads and statistics about parallel IO operations.
With system statistics in place and cpu costing enabled (the default if system statistics are present) the optimizer will have information about the different costs of single-block and multi-block IO and will also take the cpu cost of operations into account.

Laimutis Nedzinskas wrote:

> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jonathan Lewis
> "
> The first STRATEGIC step is to get the system statistics
> set so that the optimizer has a truthful image about the
> time cost of multiblock reads, and the CPU cost of
> doing tablescans.
> "
>
> Can you elaborate a bit more what can be considered for this truthful
> image apart from the straightforward "compute all for all cascade all"?
> The only thing left seems to be the histograms which, yes, opens a lot
> possibilities.
>
>
>
>
>
>
>
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

-- 
Regards

Wolfgang Breitling
Centrex Consulting Corporation
www.centrexcc.com
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Dec 05 2005 - 12:49:42 CST

Original text of this message

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