Which dynamic management view should you use?

You manage a SQL Server 2005 database that contains a table with many indexes. You notice that data modification performance has degraded over time. You suspect that some of the indexes are unused.
You need to identify which indexes were not used by any queries since the last time SQL Server 2005 started. Which dynamic management view should you use?

You manage a SQL Server 2005 database that contains a table with many indexes. You notice that data modification performance has degraded over time. You suspect that some of the indexes are unused.
You need to identify which indexes were not used by any queries since the last time SQL Server 2005 started. Which dynamic management view should you use?

A.
sys.dm_fts_index_population

B.
sys.dm_exec_query_stats

C.
sys.dm_db_index_usage_stats

D.
sys.dm_db_index_physical_stats

Explanation:
The sys.dm_db_index_usage_stats dynamic management view contains core statistics about each index within a database. Use this view when you need to find the number of seeks, scans, lookups, or updates that have occurred with an index. You can determine the last time an index was used by examining the last_user_seek, last_user_scan and last_user_lookup columns.



Leave a Reply 0

Your email address will not be published. Required fields are marked *