• Management Pack:  SQL Server
  • MP Version:  6.1 for SQL Server 2008
  • Released:  8/5/2010
  • Publisher:  Microsoft

Auto Update Statistics Async Configuration Monitor

  • ID:  Microsoft.SQLServer.2008.Database.Configuration.AutoUpdateStatAsync
  • Description:  Monitors the auto update statistics async setting for the database
  • Target:  SQL 2008 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 (sec) 43200  
Expected Value OFF To view set of possibly values see "Configuration" section in knowledge of this monitor.
Disable Check for SQL Express false  
Timeout (sec) 300  

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 Improvement Query Performance

See Also for SQL Server Management Pack


Downloads for SQL Server 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