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: Indexes Used per Query

Re: Indexes Used per Query

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Tue, 14 Aug 2001 08:34:26 -0700
Message-ID: <F001.00369D8B.20010814083524@fatcity.com>

Apart from the special case of bitmap indexes which are almost invariable combined through AND and OR, it is possible for Oracle to use other access paths that combine multiple indexes.

The AND-EQUAL path still exists, but with CBO the statistics have to be pretty finely balanced for it to be used unhinted. The INDEX_JOIN path has just been introduced (disabled, though) to allow a hash-join between indexes that bypasses the table completely.

Jonathan Lewis

Seminars on getting the best out of Oracle Last few places available for Sept 10th/11th See http://www.jlcomp.demon.co.uk/seminar.html

-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Date: 14 August 2001 16:02

|Will the optimizer (CBO) ever use more than one index
|in the access path for a table in a query? I have
|never seen this behavior and have always been curious.
|

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jonathan Lewis
  INET: jonathan_at_jlcomp.demon.co.uk

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Aug 14 2001 - 10:34:26 CDT

Original text of this message

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