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

Home -> Community -> Usenet -> c.d.o.server -> Re: cardinality scripts

Re: cardinality scripts

From: Ronald <devnull_at_ronr.nl>
Date: 14 Nov 2001 06:05:31 -0800
Message-ID: <67ce88e7.0111140605.553ef391@posting.google.com>


"anon" <anon_at_hotmail.com> wrote in message news:<Y40I7.129707$IR4.41030347_at_news1.denver1.co.home.com>...
> I'm looking for any scripts which can guide me toward discovering indexes
> within the database that can be dropped or converted to bitmapped indexes.
>
> Not all of our objects are analyzed so I can't use distinct keys from
> dba_ind_columns
>
> Any help is appreciated.
>
> thanks

A little piece of dynamic sql that performs an 'analyze index Z validate structure' and inserts the row from index_stats into a collection table could help here. The collection table should also have the index_name. A few smart queries should help identify the lesser cardinal indexes.

Ronald.



http://ronr.nl/unix-dba
Ben je een ervaren oracle dba en wil je dat ergens anders laten zien, mail me dan. Received on Wed Nov 14 2001 - 08:05:31 CST

Original text of this message

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