70-465 · Question #121
You are the new database administrator for a SQL Server 2014 instance. You conduct an assessment on the instance and determine that the auto create statistics setting on the database named DB1 has…
The correct answer is B. Use the missing_column_statistics extended event. The Missing Column Statistics event class indicates that column statistics that could have been useful for the optimizer are not available. By monitoring the Missing Column Statistics event class, you can determine if there are statistics missing for a column used by a query…
Question
Options
- ACreate a SQL Server Agent job to execute DBCC SHOWSTATISTICS on each of the
- BUse the missing_column_statistics extended event.
- CQuery the sys.statistics system view to see all cases where the statistics were last needed.
- DWrite a query using the sys.dm_db_missing_index_group_stats DMV Joining to sys.indexes,
How the community answered
(39 responses)- A31% (12)
- B46% (18)
- C8% (3)
- D15% (6)
Explanation
The Missing Column Statistics event class indicates that column statistics that could have been useful for the optimizer are not available. By monitoring the Missing Column Statistics event class, you can determine if there are statistics missing for a column used by a query. This can cause the optimizer to choose a less efficient query plan than expected.
Topics
Community Discussion
No community discussion yet for this question.