Exam4Training

What should you do?

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 been turned off.

You see no evidence that any maintenance has been occurring. You want to set up monitoring to see if query performance is being affected. You need to set up a monitoring process that will capture any cases where statistics could have been useful if they existed.

What should you do?
A . Create a SQL Server Agent job to execute DBCC SHOWSTATISTICS on each of the primary key columns in the database.
B . Use the missing_column_statistics extended event.
C . Query the sys.statistics system view to see all cases where the statistics were last needed.
D . Write a query using the sys.dm_db_missing_index_group_stats DMV Joining to sys.indexes, filtering on is_hypothetical.

Answer: B

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.

Latest 70-764 Dumps Valid Version with 451 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version