• Management Pack:  SQL Server 2012
  • MP Version:  7.0.4.0
  • Released:  4/18/2018
  • Publisher:  Microsoft

Auto Update Statistics Async Configuration Monitor

  • ID:  Microsoft.SQLServer.2012.Database.Configuration.AutoUpdateStatAsync
  • Description:  Monitors the auto update statistics async setting for the database
  • Target:  SQL Server 2012 DB
  • Enabled:  No

Operational States

Name State Description
Auto Update Statistics Async Setting OK Success  
Auto Update Statistics Async Setting Not OK Warning  

Overridable Parameters

Parameter Name Default Value Description Override
Interval (seconds) 43200 The recurring interval of time in seconds in which to run the workflow.
Expected Value OFF To view the set of possible values, see "Configuration" section in the knowledge of this monitor.
Disable Check for SQL Express false Enables or disables check for SQL Express version.
Timeout (seconds) 300 Specifies the time the workflow is allowed to run before being closed and marked as failed.

Alert Details

Monitor State Message Priority Severity Auto Resolution
Auto Update Statistics Async Setting Not OK (Warning) Auto Update Statistics Async Configuration Error Medium Warning Yes

Run As Profiles

Name
Default

Monitor Knowledgebase

Summary

This monitor checks the Auto Update Statistics Asynchronous setting for this database. Since this monitor is a part of an overall standards requirement, an alert would be generated if the setting does not meet the specified standard.

Causes

A warning alert will be raised if the option does not match the required setting. Out of the box, the monitor is configured to alert when this setting is set to “ON”.

The reason this database option is OFF by default is for backwards compatibility with existing applications. Since queries do not wait or block for statistics updates, there is a chance for temporary changes in performance if a query compiles and runs with old statistics. After the statistics are done updating, the same query would recompile against the updated statistics before the next run. But while the stats are updating, the query might have momentary performance problems since it was compiled against old statistics.

ASYNC update is probably the best choice for most applications since it minimizes blocking and waiting overall. Consider turning it ON, and if it works for your application, then disable this unit monitor.

Resolutions

This issue may be resolved by:

  • Changing the configuration setting for this database to match the expected value.

  • Overriding the expected value for this unit monitor for this specific database or all databases.

Alternatively, if this monitor is not of concern for this database:

  • Disabling the monitor using overrides for this specific database or all databases.

  • Disabling the top-level aggregate configuration monitor using overrides for this specific database or all databases.

External References

See more detailed information about this setting: ALTER DATABASE SET Options (Transact-SQL)

See also “Using Statistics to Improve Query Performance

See Also for SQL Server 2012 Management Pack


Downloads for SQL Server 2012 Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED