-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDMVs (notes).sql
More file actions
31 lines (20 loc) · 1.26 KB
/
DMVs (notes).sql
File metadata and controls
31 lines (20 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**********************************************************************************************/
-- DMVs and DMFs
/*
sys.dm_exec_% -- Execution and Connection
These objects provide information about connections, sessions, requests, and query execution.
For example, sys.dm_exec_sessions provides on row for every session that is currently connected to the server.
sys.dm_os_% -- SQL OS related information
These objects provide access to SQL OS related information.
For example, sys.dm_os_performance_counters provides access to SQL Server performance counters
without the need to access them using operating system tools.
sys.dm_tran_% -- Transaction Management
These objects provide access to transaction management.
For example, sys.dm_os_tran_active_transactions provides details of currently active transactions
sys.dm_io_% -- I/O related information
These objects provide information on I/O processes.
For example, sys.dm_io_virtual_file_stats provides details of I/O performance and statistics for each database file.
sys.dm_db_% -- Database scoped information
These objects provide database-scoped information.
For example, sys.dm_db_index_usage_stats provides information about how each index in the database has been used.
*/