// sql server · checkpoints & recovery

recovery interval (min)

Target recovery time for automatic checkpoints, used only by databases with TARGET_RECOVERY_TIME = 0.

默认
0
Range
0 to 32767 minutes
Restart needed
否
Default checked on
SQL Server 2025

作用

0 means SQL Server picks it, roughly a one-minute recovery target. Databases using indirect checkpoints ignore it.

默认值

0. 0 (SQL Server 2025).

Check the current value

SELECT name, value, value_in_use, minimum, maximum, is_dynamic, is_advanced
FROM sys.configurations
WHERE name = 'recovery interval (min)';

-- EXEC sp_configure 'recovery interval (min)'; also works, but only while show advanced options is 1;
-- otherwise it fails with Msg 15123 because this is an advanced option.

Change it

EXEC sp_configure 'show advanced options', 1;
RECONFIGURE;
EXEC sp_configure 'recovery interval (min)', 0;
RECONFIGURE;

No restart: it takes effect when RECONFIGURE runs (sys.configurations.is_dynamic = 1). It is an advanced option, so show advanced options must be on to change it.

When to change it

Leave it. Set TARGET_RECOVERY_TIME per database instead.

What can go wrong

Large values make automatic checkpoints rare and bursty, and crash recovery long.

Questions about recovery interval (min)

What is the default value of recovery interval (min) in SQL Server?

0. 0 (SQL Server 2025).

Does changing recovery interval (min) require a restart?

No. No restart: it takes effect when RECONFIGURE runs (sys.configurations.is_dynamic = 1). It is an advanced option, so show advanced options must be on to change it.

When should I change recovery interval (min)?

Leave it. Set TARGET_RECOVERY_TIME per database instead.

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

// one client for every engine

Check recovery interval (min) 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.