Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Question about sys.dm_db_index_usage_stats.

$
0
0

Greetings. I'm running this query on a 2008R2 server:

select * from sys.dm_db_index_usage_stats
where database_id = db_id()
and user_seeks = 0 and user_scans = 0 and user_lookups = 0

And getting 11 records back. My understanding of this query is that the results show indexes not being used at all. That said, I might as well drop them. My only apprehension is that the user_updates column has values for all of these entries, but I don't think I really care all that much about that column.

Can someone please confirm?


TIA, ChrisRDBA


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>