Dynamic Management Views


By:
Overview

With the introduction of SQL Server 2005, Microsoft introduced Dynamic Management Views (DMVs) which allow you to get better insight into what is happening in SQL Server.  Without these new tools a lot of the information was unavailable or very difficult to obtain. 

DMVs are a great tool to help troubleshoot performance related issues and once you understand their power they will become a staple for your Database Administration.

Explanation

The DMVs were introduced in SQL 2005 and with each new release, Microsoft has been adding additional DMVs to help troubleshoot issues. DMVs actually come in two flavors DMVs (dynamic management views) and DMFs (dynamic management functions) and are sometimes classified as DMOs (dynamic management objects).  The DMVs act just like any other view where you can select data from them and the DMFs require values to be passed to the function just like any other function.

The DMVs are broken down into the following categories:

Here are some of the more useful DMVs that you should familiarize yourself with:

Additional Information

Here are some additional articles about DMVs.






Comments For This Article




Wednesday, December 13, 2017 - 10:57:27 AM - Steven Back To Top (73976)

 

 Always enjoy your articles. Thank you for breaking the DMVs down into categories.  Maybe in a future article you can explain how to use some of these in more detail. Particularly the sys.dm_os_performance_counters

 

 















get free sql tips
agree to terms