Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: HELP! Index Debate!
Wolfgang,
> as long as the leading columns are present in the where clause with an
> equal predicate, the index can be used. The first omission or non-equal
> predicate breaks the chain and only the part of the index up to that
column
> can be used.
Could you please elaborate what you meant by that? My understanding (and brief testing results) are that composite indexes can be used with inequality predicates (<, >, between, like) and even a missing predicate in between. Do you mean that normal index branch block traversing mechanism can't be used starting with omitted or non-equal predicate and starting from them leaf block linked list is read up to a value is found which doesn't match the last equality predicate?
Tanel.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Tanel Poder INET: tanel.poder.003_at_mail.ee 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 Mon Aug 04 2003 - 09:19:28 CDT
![]() |
![]() |