Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Index skip scan
Index skip scans improve index scans by nonprefix columns. Skip
scanning lets a composite index be split logically into smaller
subindexes. In the skip scanning, the initial column of the composite
index is not specified in the query.
Number of logical subindexes is determined by the number of distinct
values in the initial column. Skip scanning is advantageous if there
are few distinct values in the leading column of the composite index
and many distinct values in the nonleading key of the index.
On 9/20/05, Hameed, Amir <Amir.Hameed_at_xerox.com> wrote:
>
>
> 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?
>
> Thanks
> Amir
-- Best Regards, Syed Jaffar Hussain OCP 8i & 9i DBA, Banque Saudi Fransi, Saudi Arabia ---------------------------------------------------------------------------------------- "It is your atittude, not your aptitude that determins your altitude." -- http://www.freelists.org/webpage/oracle-lReceived on Wed Sep 21 2005 - 00:57:46 CDT