Skip to content

Commit c6b1beb

Browse files
authored
Merge pull request #21293 from MicrosoftDocs/main
2/18 PM Publish
2 parents f23fe64 + aafd899 commit c6b1beb

10 files changed

Lines changed: 485 additions & 83 deletions

docs/relational-databases/accelerated-database-recovery-concepts.md

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Accelerated database recovery"
3-
title: "Accelerated database recovery | Microsoft Docs"
4-
ms.date: "05/20/2020"
3+
title: "Accelerated database recovery"
4+
ms.date: "01/21/2022"
55
ms.prod: sql
66
ms.prod_service: backup-restore
77
ms.technology: backup-restore
@@ -12,15 +12,15 @@ helpviewer_keywords:
1212
author: mashamsft
1313
ms.author: mathoma
1414
ms.reviewer: kfarlee
15-
monikerRange: ">=sql-server-ver15"
15+
monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=azuresqldb-mi-current||=azuresqldb-current"
1616
---
1717
# Accelerated database recovery
1818

19-
[!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)]
2020

2121
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.
2222

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).
2424

2525
## Overview
2626

@@ -77,24 +77,24 @@ The ADR recovery process has the same three phases as the current recovery proce
7777

7878
- **Analysis phase**
7979

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.
8181

8282
- **Redo** phase
8383

8484
Broken into two sub-phases
8585
- Sub-phase 1
8686

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.
8888

8989
- Sub phase 2
9090

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).
9292

9393
- **Undo phase**
9494

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.
9696

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:
9898

9999
> [!VIDEO https://channel9.msdn.com/Shows/Data-Exposed/Advanced-Database-Recovery--Data-Exposed/player?WT.mc_id=dataexposed-c9-niner]
100100
@@ -114,9 +114,9 @@ The four key components of ADR are:
114114
- Performs rollback using PVS for all user transactions
115115
- Releases all locks immediately after transaction abort
116116

117-
- **sLog**
117+
- **SLOG**
118118

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:
120120

121121
- Low volume and in-memory
122122
- Persisted on disk by being serialized during the checkpoint process
@@ -128,17 +128,12 @@ The four key components of ADR are:
128128

129129
The cleaner is the asynchronous process that wakes up periodically and cleans page versions that are not needed.
130130

131-
## Who should consider accelerated database recovery
131+
## Best practices and guidance
132132

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).
134134

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
138136

139-
>[!IMPORTANT]
140-
>ADR is not supported for databases enrolled in database mirroring.
141-
142-
## See Also
143-
144-
[Manage accelerated database recovery](accelerated-database-recovery-management.md)
137+
- [Manage accelerated database recovery](accelerated-database-recovery-management.md)
138+
- [Troubleshoot accelerated database recovery](accelerated-database-recovery-troubleshoot.md)
139+
- [Accelerated Database Recovery in Azure SQL](/azure/azure-sql/accelerated-database-recovery)

0 commit comments

Comments
 (0)