Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Number 1 gripe about CBO: 0 <Cardinality< 1 (?????)

Re: Number 1 gripe about CBO: 0 <Cardinality< 1 (?????)

From: joel garry <joel-garry_at_home.com>
Date: 5 Apr 2007 17:09:40 -0700
Message-ID: <1175818180.063487.59410@q75g2000hsh.googlegroups.com>


On Apr 4, 5:16 pm, "Kevin Kirkpatrick" <kvnkrkpt..._at_gmail.com> wrote:

>
> > - have no join clause between kk_small and kk_big, yet you list them
> > in this order, which is obeyed by CBO.
>
> Did I just step into the twighlight zone? Syband, this comment makes
> so little sense that I'm literally stumped as to how to reply. Do you
> know even know what the CBO is?
>
> > What else do you expect?
>
> Certainly not a response from a "Senior Oracle DBA" who thinks that
> the CBO chooses join order based on the order in which tables are
> listed in a query...

In the case of tie-breakers, that is, where the optimizer thinks the cost is equal for two join orders, RBO worked from last to first, CBO works in order written, IIRC.

jg

--
@home.com is bogus.
http://www.speakeasy.org/~jwilton/oracle/oracle-misconceptions.html
Received on Thu Apr 05 2007 - 19:09:40 CDT

Original text of this message

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