You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!INCLUDE [SQL Server ASDB, ASDBMI, ASDW ](../includes/applies-to-version/sql-asdb-asdbmi-asa.md)]
19
+
[!INCLUDE [SQL Server 2019, ASDB, ASDBMI, ASDW ](../includes/applies-to-version/sqlserver2019-asdb-asdbmi-asa.md)]
20
20
21
21
Accelerated database recovery (ADR) improves database availability, especially in the presence of long running transactions, by redesigning the SQL database engine recovery process. ADR is new in SQL Server 2019.
22
22
23
-
ADR is also available for databases in Azure SQL Database, Azure SQL Managed Instance and Azure Synapse SQL. ADR is enabled by default in SQL Database and SQL Managed Instance and cannot be disabled.
23
+
ADR is also available for databases in Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse SQL. ADR is enabled by default in SQL Database and SQL Managed Instance and cannot be disabled. For more about ADR in Azure SQL, see [Accelerated Database Recovery in Azure SQL](/azure/azure-sql/accelerated-database-recovery).
24
24
25
25
## Overview
26
26
@@ -77,24 +77,24 @@ The ADR recovery process has the same three phases as the current recovery proce
77
77
78
78
-**Analysis phase**
79
79
80
-
The process remains the same as today with the addition of reconstructing sLog and copying log records for non-versioned operations.
80
+
The process remains the same as today with the addition of reconstructing the SLOG (system log stream) and copying log records for non-versioned operations.
81
81
82
82
-**Redo** phase
83
83
84
84
Broken into two sub-phases
85
85
- Sub-phase 1
86
86
87
-
Redo from sLog (oldest uncommitted transaction up to last checkpoint). Redo is a fast operation as it only needs to process a few records from the sLog.
87
+
Redo from SLOG (oldest uncommitted transaction up to last checkpoint). Redo is a fast operation as it only needs to process a few records from the SLOG.
88
88
89
89
- Sub phase 2
90
90
91
-
Redo from transaction log starts from last checkpoint (instead of oldest uncommitted transaction)
91
+
Redo from transaction log starts from last checkpoint (instead of oldest uncommitted transaction).
92
92
93
93
-**Undo phase**
94
94
95
-
The undo phase with ADR completes almost instantaneously by using sLog to undo non-versioned operations and persisted version store (PVS) with logical revert to perform row level version-based undo.
95
+
The undo phase with ADR completes almost instantaneously by using SLOG to undo non-versioned operations and persisted version store (PVS) with logical revert to perform row level version-based undo.
96
96
97
-
You can also watch this 8-minute video that explains Accelerated Database Recovery
97
+
You can also watch this eight-minute video that explains Accelerated Database Recovery:
@@ -114,9 +114,9 @@ The four key components of ADR are:
114
114
- Performs rollback using PVS for all user transactions
115
115
- Releases all locks immediately after transaction abort
116
116
117
-
-**sLog**
117
+
-**SLOG**
118
118
119
-
sLog is a secondary in-memory log stream that stores log records for non-versioned operations (such as metadata cache invalidation, lock acquisitions, and so on). The sLog is:
119
+
The SLOG is a secondary in-memory log stream that stores log records for non-versioned operations (such as metadata cache invalidation, lock acquisitions, and so on). The SLOG is:
120
120
121
121
- Low volume and in-memory
122
122
- Persisted on disk by being serialized during the checkpoint process
@@ -128,17 +128,12 @@ The four key components of ADR are:
128
128
129
129
The cleaner is the asynchronous process that wakes up periodically and cleans page versions that are not needed.
130
130
131
-
## Who should consider accelerated database recovery
131
+
## Best practices and guidance
132
132
133
-
The following types of customers should consider enabling ADR:
133
+
For guidance on workloads that are and are not recommended for ADR, see [Manage accelerated database recovery](accelerated-database-recovery-management.md).
134
134
135
-
- Customers that have workloads with long running transactions.
136
-
- Customers that have seen cases where active transactions are causing the transaction log to grow significantly.
137
-
- Customers that have experienced long periods of database unavailability due to SQL Server long running recovery (such as unexpected SQL Server restart or manual transaction rollback).
135
+
## Next steps
138
136
139
-
>[!IMPORTANT]
140
-
>ADR is not supported for databases enrolled in database mirroring.
0 commit comments