Skip to content

Commit 569fcdd

Browse files
authored
added some clarity to the text
1 parent 7aade1a commit 569fcdd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/database-engine/availability-groups/windows/prereqs-restrictions-recommendations-always-on-availability.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ manager: craigg
166166
167167
- A SQL Server instance uses up to 100 threads for parallel redo for secondary replicas. Each database uses up to one-half of the total number of CPU cores, but not more than 16 threads per database. If the total number of required threads for a single instance exceeds 100, SQL Server uses a single redo thread for every remaining database. Redo threads are released after ~15 seconds of inactivity.
168168
169-
- When the 100 thread limit is exceeded, the databases that get parallel redo threads are chosen in database order (by database id ascending)
170-
169+
>[NOTE}
170+
> Databases are chosen to go single-threaded based on their ascending database ID. As such, the database creation order should be considered for SQL Server instances that host more databases per availability group than available worker threads. For example, on a system with 32 or more CPU cores, all databases starting with the 7th database that joined the availability group will be in serial redo mode irresepective of the actual redo workload for each database. Databases that require parallel redo should be added to the availability group first.
171171
172172
- In addition, availability groups use unshared threads, as follows:
173173

0 commit comments

Comments
 (0)