Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: index rebuild
Note in-line:
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk
The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html
April 2004 Iceland
June 2004 UK - Optimising Oracle Seminar
The defect in this argument (when used as a general point in favour or
rebuilds) is
that most range scans are for a small number of rows. Given that even if an
index
is running at a uniform 50% efficiency (i.e. all the blocks hold the same
number of
rows, which is half the maximum) a large percentage of small range will
still tend to
hit just one leaf block. Conversely, if you have such large range scans
most of them
HAVE to hit two leaf blocks to get all the rowids, then most of the time
required for
your query is likely to be spent reading lots of table blocks, and the
benefit you get
from rebuilding the index is marginal - and you ought to be working on the
more important
task of investigating why you are doing such large range scans.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Mar 19 2004 - 03:18:46 CST
![]() |
![]() |