SQL Server Diagnostic Information Queries Detailed, Day 14
For Day 14 of this series, we start out with Query #33, which is Top Waits. This query retrieves information from the sys.dm_os_wait_stats dynamic management
For Day 14 of this series, we start out with Query #33, which is Top Waits. This query retrieves information from the sys.dm_os_wait_stats dynamic management
For Day 13 of this series, we start out with Query #30, which is CPU Usage by Database. This query retrieves information from the sys.dm_exec_query_stats
For Day 12 of this series, we start out with Query #27, which is Database Properties. This query retrieves information from the sys.databases catalog view,
Today, we will go through four queries that are related to storage. We start out with Query #23, which is Volume Info. This query retrieves
For Day 10 of this series, we start out with Query #21, which is Memory Dump Info. This query retrieves information about any SQL Server
For Day 9 of this series, we start out with Query #19, which is BPE Configuration. This query retrieves information about your buffer pool extension
For Day 8 of this series, we start out with Query #16, which is Hardware Info. This query retrieves some hardware-related information from the sys.dm_os_sys_info
Note: The three queries I am discussing today are not particularly interesting or useful if you are not using either a traditional, failover cluster instance
For Day 6 of this series, we start out with Query #11, which is SQL Server NUMA Info. This query retrieves information from the sys.dm_os_nodes
For Day 5 of the series, we have Query #9, which is SQL Server Agent Alerts. This query looks at the sysalerts table on the
Continuing the series, Query #7 is SQL Server Services Info. It retrieves this information from the sys.dm_server_services DMV. Query 7 is shown in Figure 1.
For Day 3 of this series, we are up to Query #5, which is Global Trace Flags. This query simply runs a DBCC command to
With training and consulting from SQLskills, you’ll be able to solve big problems, elevate your team’s capacity, and take control of your data career.