Skip to content

Commit 14fce09

Browse files
20230228 1209 adr parallel threads
1 parent 998de1d commit 14fce09

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
---
22
description: "Accelerated database recovery"
33
title: "Accelerated database recovery"
4-
ms.date: 07/14/2022
4+
ms.date: 02/28/2023
55
ms.service: sql
66
ms.subservice: backup-restore
77
ms.topic: conceptual
8-
ms.custom:
9-
- event-tier1-build-2022
108
helpviewer_keywords:
119
- "accelerated database recovery [SQL Server], recovery-only"
1210
- "database recovery [SQL Server]"
@@ -157,11 +155,13 @@ There are several improvements to address persistent version store (PVS) storage
157155

158156
In [!INCLUDE[sssql19-md](../includes/sssql19-md.md)], the cleanup process is single threaded within a SQL Server instance.
159157

160-
Beginning with [!INCLUDE[sssql22-md](../includes/sssql22-md.md)], this process uses multi-threaded version cleanup at the database level. This allows multiple threads for cleanup for each database. This improvement is valuable when you have multiple large databases.
158+
Beginning with [!INCLUDE[sssql22-md](../includes/sssql22-md.md)], this process uses multi-threaded version cleanup. This allows multiple databases in the same SQL Server instance to be cleaned in parallel. This improvement is valuable when you have multiple large databases.
161159

162160
To adjust the number of threads for version cleanup scalability, set `ADR Cleaner Thread Count` with `sp_configure`. The thread count is capped at the number of cores for the instance.
163161

164-
The example below changes the thread count to 4:
162+
As a best practice, we recommend using the same number of ADR cleaner threads as the number of your databases. For instance, if you configure the `ADR Cleaner Thread Count` to be `4` on a SQL Server instance with two databases, the ADR cleaner will still only allocate one thread per database, leaving the remaining two threads idle.
163+
164+
The example below changes the thread count to `4`:
165165

166166
```sql
167167
EXEC sp_configure 'ADR Cleaner Thread Count', '4'

0 commit comments

Comments
 (0)