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: HELP! Index Debate!

Re: HELP! Index Debate!

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Mon, 04 Aug 2003 06:19:28 -0800
Message-ID: <F001.005C8CFC.20030804061928@fatcity.com>


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

Original text of this message

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