This article is about some of the new DMV’s that are newly added to next version of SQL Server. These are also available SQL Server 2008 R2 SP1. They are very helpful to get information about the host operating system that the SQL Server runs on, status of the server and even the memory dumps that are created by the server and registry keys that the server uses.
To read all mentioned DMV’s the user must have VIEW SERVER STATE permission.
sys.dm_os_windows_info: This DMV returns the OS related information to the user. It is good to know the properties of hosting server.
sys.dm_server_registry: This DMV returns some of the registry keys that the server uses.
- registry key
sys.dm_server_services: This DMV provides useful information about the SQL Server, SQL Agent and SQL FullText service related with the running server. This DMV is very helpful to track the servers status and startup configuration.
- startup type
sys.dm_server_memory_dumps: This DMV returns the dumps that are generated by the server.
If you need more detailed information on any of those, please reply to this post or send email