Important System Tables Flashcards

1
Q

What is the system table that you can use to see how much an index is being used?

A

SYS.DM_DB_INDEX_USAGE_STATS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the system table that has Index statistics?

A

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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the System DM view that shows system locking?

A

sys.dm_tran_locks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the system DM that shows what queries a user is running and the wait_type that is occuring?

A

sys.dm_exec_requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the system DM view that shows CPU usage?

A

sys.dm_os_schedulers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the system DM view that shows the Buffer Pool / data cache?

A

sys.dm_os_buffer_descriptors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the DM view you would use for Memory Issues?

A

sys.sysperfinfo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the system view that gives you current permissions for any given user?

A

sys.server_permissions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the dynamic management view to see database-level memory consumers?

A

sys.dm_xtp_system_memory_consumers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which dynamic management view shows you SQL Operating System threads under the current SQL Server Process?

A

sys.dm_os_threads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which dynamic management view shows information about the environment (IE CPI Count, physical memory and virtual memory)?

A

sys.dm_os_sys_info

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which view shows information about the full-text and sematic indexes in each table?

A

sys.dm_db_fts_index_physical_stats

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which view shows edition-specific features that are enabled in the current database but are not supported on all SQL server versions?

A

sys.dm_db_persisted_sku_features

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What system view shows query statistics?

A

sys.dm_exec_query_stats

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What system view shows query plans for executing queries?

A

sys.dm_exec_query_plan

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What dynamic management view shows information about actual wait statistics in connection to a particular session?

A

sys.dm_exec_session_wait_stats

17
Q

What dynamic management view shows the impact that an index group would have if it was created?

A

sys.dm_db_missing_index_group_stats

18
Q

What dynamic management view shows column information about missing indexes but does not return statistics?

A

sys.dm_db_missing_index_columns

19
Q

What dynamic management view shows information about missing indexes such as column information and the statement used to create the missing index?

A

sys.dm_db_missing_index_details

20
Q

What dynamic management view returns information about indexes that are missing in a specific index group, except for spatial indexes?

A

sys.dm_db_missing_index_groups