// sql server · vacuum, statistics & maintenance

AUTO_UPDATE_STATISTICS_ASYNC

Let a query compile with existing statistics while the update runs in the background.

기본값
OFF
Range
ON, OFF
Restart needed
아니요
Default checked on
SQL Server 2025

기능

With it off, the query that triggers a statistics update waits for it, which can stall a request for seconds on a large table.

기본값

OFF. OFF (SQL Server 2025).

Check the current value

SELECT name, is_auto_update_stats_async_on
FROM sys.databases
WHERE name = DB_NAME();

Change it

ALTER DATABASE CURRENT SET AUTO_UPDATE_STATISTICS_ASYNC ON;

No restart; takes effect immediately.

When to change it

On OLTP databases where occasional compile stalls on large tables are worse than one execution with old statistics.

What can go wrong

The query that triggered the update runs with the old statistics and possibly a poor plan.

Questions about AUTO_UPDATE_STATISTICS_ASYNC

What is the default value of AUTO_UPDATE_STATISTICS_ASYNC in SQL Server?

OFF. OFF (SQL Server 2025).

Does changing AUTO_UPDATE_STATISTICS_ASYNC require a restart?

No. No restart; takes effect immediately.

When should I change AUTO_UPDATE_STATISTICS_ASYNC?

On OLTP databases where occasional compile stalls on large tables are worse than one execution with old statistics.

Back to all SQL Server settings, or check the SQL Server manual for every option.

// one client for every engine

Check AUTO_UPDATE_STATISTICS_ASYNC on your own server

SQLly runs the query above against SQL Server and the other engines in this reference, from one desktop app on macOS, Windows and Linux.