// sql server · vacuum, statistics & maintenance

AUTO_UPDATE_STATISTICS

Update statistics automatically when enough rows have changed.

Default
ON
Range
ON, OFF
Restart needed
No
Default checked on
SQL Server 2025

What it does

Since compatibility level 130 the threshold is dynamic: roughly the square root of 1000 x rows for large tables, instead of 20% of rows. Updates happen synchronously when a query compiles, unless AUTO_UPDATE_STATISTICS_ASYNC is on.

Default value

ON. ON (SQL Server 2025), inherited from model. AUTO_CREATE_STATISTICS is also ON.

Check the current value

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

Change it

ALTER DATABASE CURRENT SET AUTO_UPDATE_STATISTICS ON;

No restart; takes effect immediately.

When to change it

Keep it on. Add scheduled updates (UPDATE STATISTICS or a maintenance solution) for large tables whose recent rows matter.

What can go wrong

Off, plans are built on stale estimates and degrade over time.

Questions about AUTO_UPDATE_STATISTICS

What is the default value of AUTO_UPDATE_STATISTICS in SQL Server?

ON. ON (SQL Server 2025), inherited from model. AUTO_CREATE_STATISTICS is also ON.

Does changing AUTO_UPDATE_STATISTICS require a restart?

No. No restart; takes effect immediately.

When should I change AUTO_UPDATE_STATISTICS?

Keep it on. Add scheduled updates (UPDATE STATISTICS or a maintenance solution) for large tables whose recent rows matter.

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

// one client for every engine

Check AUTO_UPDATE_STATISTICS 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.