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

Home -> Community -> Usenet -> c.d.o.server -> Re: Which index is used when multiple are valid

Re: Which index is used when multiple are valid

From: mcstock <mcstockx_at_xenquery.com>
Date: Tue, 4 Nov 2003 14:31:30 -0500
Message-ID: <AvadnbHUbJdcYzqiRVn-jw@comcast.com>


alan,

i don't know what proceeded this in the thread, so maybe this has been covered

in the example shown, in index on COL_A will be used if it is more selective (and oracle knows it is more selective

was the assumption that all index access costs evaluated equally?

again, sorry if this was already considered.

"Alan" <alan_at_erols.com> wrote in message news:bo8eoq$19hufs$1_at_ID-114862.news.uni-berlin.de...
> In
>
> select * from my_table where col_a = 'A' and col_b = 'B';
>
> and col_b='B' is righmost. The most far to the right in the expression.
>
>
> "Daniel Roy" <danielroy10junk_at_hotmail.com> wrote in message
> news:3722db.0311031909.19730b5d_at_posting.google.com...
> > What do you mean by "rightmost"?
> >
> > Daniel
>
>
Received on Tue Nov 04 2003 - 13:31:30 CST

Original text of this message

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