In the earlier versions of SQL Server, it was a daunting task to diagnose and resolve performance issues. With DMV’s being introduced in SQL Server 2005 and enhanced in SQL Server 2008, this task has become much easier now.
Sometime back I had written on Important DMVs to monitor CPU – SQL Server. Here are 6 important DMV’s that in my opinion are very useful to diagnose and tune the performance of your SQL Server Database.
sys.dm_os_performance_counters - Returns a row per performance counter maintained by the server
sys.dm_db_index_usage_stats - Returns counts of different types of index operations and the time each type of operation was last performed
sys.dm_db_index_physical_stats - Returns size and fragmentation information for the data and indexes of the specified table or view
sys.dm_db_index_operational_stats - Returns current low-level I/O, locking, latching, and access method activity for each partition of a table or index in the database.
sys.dm_os_waiting_tasks - Returns information about the wait queue of tasks that are waiting on some resource
sys.dm_exec_query_stats - Returns aggregate performance statistics for cached query plans.
Feel free to share the DMV’s that you think are helpful in tuning a Database performance.
Did you like this post?
|subscribe via rss||subscribe via e-mail|
|print this post||follow me on twitter|