View Single Post

   
  #9 (permalink)  
Old 04-19-2008, 06:41 PM
DA Morgan
 
Posts: n/a
Default Re: HowTo find out used (useful) and unused (usesless) indexes?

Shakespeare wrote:

> But an index may become useful over time, true?
>
> Shakespeare


On that basis alone one could justify putting an index on every
column of every table so I will respectfully disagree unless you
write a very broad definition of "may."

You need to understand your data and how it is being accessed.
The extra overhead of an unused index is not value added.

My recommendation would be to use the DBMS_STATS.SET.... procedures
to see how queries will react to the expected future growth of both
tables and indexes.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Reply With Quote