DELAYED_DURABILITY
Let commits return before their log records are hardened to disk.
- 기본값
DISABLED- Range
- DISABLED, ALLOWED, FORCED
- Restart needed
- 아니요
- Default checked on
- SQL Server 2025
기능
DISABLED: every commit waits for the log flush. ALLOWED: transactions that commit WITH (DELAYED_DURABILITY = ON) do not wait. FORCED: no commit waits. Log records are flushed when a 60KB log buffer fills, on sp_flush_log, or when a fully durable transaction commits.
기본값
DISABLED. DISABLED (SQL Server 2025); the option exists from SQL Server 2014.
Check the current value
SELECT name, delayed_durability_desc FROM sys.databases WHERE name = DB_NAME();
Change it
ALTER DATABASE CURRENT SET DELAYED_DURABILITY = ALLOWED; -- then, per transaction: COMMIT TRANSACTION WITH (DELAYED_DURABILITY = ON);
No restart; applies to transactions that commit after the change.
When to change it
When WRITELOG waits dominate on a workload of many tiny transactions whose last few can be lost, such as telemetry ingestion. Prefer ALLOWED and opt in per transaction.
What can go wrong
A crash or failover loses commits that clients were told succeeded.
The closest setting on other engines
| 엔진 | 설정 | 기본값 | Restart |
|---|---|---|---|
| SQL Server |
DELAYED_DURABILITY this page
|
DISABLED |
아니요 |
| PostgreSQL |
synchronous_commit
|
on |
아니요 |
| MySQL |
innodb_flush_log_at_trx_commit
|
1 |
아니요 |
| SQLite |
synchronous
|
2 (FULL) |
아니요 |
Questions about DELAYED_DURABILITY
What is the default value of DELAYED_DURABILITY in SQL Server?
DISABLED. DISABLED (SQL Server 2025); the option exists from SQL Server 2014.
Does changing DELAYED_DURABILITY require a restart?
No. No restart; applies to transactions that commit after the change.
When should I change DELAYED_DURABILITY?
When WRITELOG waits dominate on a workload of many tiny transactions whose last few can be lost, such as telemetry ingestion. Prefer ALLOWED and opt in per transaction.
Back to all SQL Server settings, or check the SQL Server manual for every option.
Check DELAYED_DURABILITY 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.