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: Index skip scan

Re: Index skip scan

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Tue, 20 Sep 2005 10:18:32 -0700
Message-ID: <1127236712.433044681f61f@webmail.hosting.telus.net>


The answer is similar to the one for the question "What is the % of rows where the optimizer switched from an index access to a full scan, or vice versa". There is not fixed threshold. The optimizer with cost the various possible access paths and choose the one the comes out with the lowest cost. BTW, skip scan is not limited to just skipping one leading column. You can get an index skip-scan with predicates missing more than one leading column of the index.

Quoting "Hameed, Amir" <Amir.Hameed_at_xerox.com>:

> Folks,
> Does anyone know that in order for the optimizer to choose "Index skip
> scan" on a concatenated index where the first column is not very
> selective but the second one is, approximately what type of selectivity
> on the leading column the Optimizer look for before deciding to take
> this route?

-- 
regards

Wolfgang Breitling
Oracle 7,8,8i,9i OCP DBA
Centrex Consulting Corporation
www.centrexcc.com

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Sep 20 2005 - 12:21:08 CDT

Original text of this message

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