Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Index usage overview

By Wilfred van Dijk,

03/21 Updated:

Split the ratio in read/write ratio, several improvements

04/21 Updated:

The main part is now a CTE. This reduces the subtreecost a lot. I was triggered by the Question of the Day ("can a CTE be used in a view")

04/14 Updated:

  1. added columns for seeks,scans and lookups represented as percentage
  2. moved stats_date column one place
  3. only disable command for performance indexes
  4. ratio changed: scans are rated 80%, lookups are rated 120%

04/06: Updated:

  1. negative ratio for non-used indexes

Updated:

  1. removed sysobjects join

05/05 Updated:

  1. discovered the FILEGROUP_NAME function, removed join
  2. removed join to sysindexes (not used anymore)

02/09/2015 Updated:

  1. changed table prefix in order to display indexinfo regardless of some index usage

Create this view in the specified database and select from this view

Total article views: 4760 | Views in the last 30 days: 10
 
Related Articles
FORUM

Execution Plan -- Clustered Index Update

Execution Plan -- Clustered Index Update

FORUM
FORUM

remove ""

remove ""

FORUM

HELP= Rebuild index & Update STATISTICS

HELP= Rebuild index & Update STATISTICS

FORUM

Selectivity Ratio - using Index

Why is the query using the index even though the perecentage of unique values is 52%?

Tags
administration    
indexing    
maintenance    
performance tuning    
tuning    
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones