Interview Questions

1. List 5 important DMVs for Index analysis.

sys.dm_db_index_usage_stats:- Maintains counts for the range of index activity and the last performed time. Also displays statistics ob how an index is used against a query.

sys.dm_db_missing_index_details:- Returns detailed information about each missing index on a table. Information is lost at SQL Server recycle.

sys.dm_db_missing_index_columns:- Returns information about database table columns that are missing an index, excluding spatial indexes.

sys.dm_exec_query_stats:- Performance statistics for cached plans. The information is only available while the plan remains in the cache. 

sys.dm_db_index_operational_stats:- Returning IO, locking, latching and access activity. Useful for identifying index hotspots, waits for read\writes to a table. Will give information about insert,update, and delete 

By Hena Parveen 2 0
Is this helpful? Yes No

Submit an interview question

Submitted questions and answers are subject to review and editing, and may or may not be selected for posting, at the sole discretion of w3Sniff.

Get Started

Comments

Leave a Comment


Check out more interview questions

Based on your skills

MS SQL Server

1663042 1720 23 859

Angular

42509 92 0 46

Wordpress

34330 72 1 36