Important System Tables Flashcards
What is the system table that you can use to see how much an index is being used?
SYS.DM_DB_INDEX_USAGE_STATS
What is the system table that has Index statistics?
SYS.DM_DB_INDEX_PHYSICAL_STATS
PARAMETERS: database_id (OR NULL) , object_id (OR NULL) , index_id (OR NULL) , partition_number (OR NULL) , mode (OR NULL)
What is the System DM view that shows system locking?
sys.dm_tran_locks
What is the system DM that shows what queries a user is running and the wait_type that is occuring?
sys.dm_exec_requests
What is the system DM view that shows CPU usage?
sys.dm_os_schedulers
What is the system DM view that shows the Buffer Pool / data cache?
sys.dm_os_buffer_descriptors
What is the DM view you would use for Memory Issues?
sys.sysperfinfo
What is the system view that gives you current permissions for any given user?
sys.server_permissions
What is the dynamic management view to see database-level memory consumers?
sys.dm_xtp_system_memory_consumers
Which dynamic management view shows you SQL Operating System threads under the current SQL Server Process?
sys.dm_os_threads
Which dynamic management view shows information about the environment (IE CPI Count, physical memory and virtual memory)?
sys.dm_os_sys_info
Which view shows information about the full-text and sematic indexes in each table?
sys.dm_db_fts_index_physical_stats
Which view shows edition-specific features that are enabled in the current database but are not supported on all SQL server versions?
sys.dm_db_persisted_sku_features
What system view shows query statistics?
sys.dm_exec_query_stats
What system view shows query plans for executing queries?
sys.dm_exec_query_plan