Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Index Range Scan vs Fast full scan

Index Range Scan vs Fast full scan

From: Ken Naim <kennaim_at_gmail.com>
Date: Wed, 10 Jan 2007 17:16:36 -0500
Message-ID: <539b29c0701101416v3833fb48rf50b88aa882eb1a2@mail.gmail.com>


From a perfromence point of view is a fast full scan (ffs) of an index faster than a index range scan when they both read the index fully? I am trying to test this but i having diffiuclty to get my plan to use a ffs even when hinted.

Context:
My btree index has only 2 values N and P and i dont use a bitmap as i can't rebuild after every load as the table has 225M rows in it. the index only has 7M rows as the rest of the values are null and a particular query needs to access all 7m rows that the index refers to. So both the ffs and the range scan read the same data. My question is am I wasting my time trying to get the plan to do a ffs of the index?

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jan 10 2007 - 16:16:36 CST

Original text of this message

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