SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Index Selectivity


Index Selectivity

Author
Message
aruram
aruram
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1167 Visits: 424
Hi,

I would like to know if the sql 2005 table SYS.DM_DB_INDEX_USAGE_STATS can be used to get an accurate estimate of the usefulness of an index ..

For eg, we have 2 production tables (19 + million rows and 27 + million rows each) with a fairly large clustered index and multiple NC indexes and are looking at opportunities to drop unused NC indexes and increase free space and performance

It is safe to assume that the NC indexes that have counts in the single or 2-digits are not useful at all and can be dropped.

I am more concerned about the indexes that show some usage (having counts between 1000-2000) .. which is still not a big %age of the entire data.

Is there a way to accurately calculate the usefulness of the indexes just looking at the usage_stats table and have a cut off point to determine if an index can be dropped or not ? thanks ..



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search