Skip to content

Commit 9113e1c

Browse files
Merge pull request #34489 from dimitri-furman/dfurman/transactions
Clarify row overhead with ADR
2 parents 0b63ff2 + cbd4704 commit 9113e1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/relational-databases/sql-server-transaction-locking-and-row-versioning-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Transaction locking and row versioning guide"
44
author: MikeRayMSFT
55
ms.author: mikeray
66
ms.reviewer: randolphwest, wiassaf
7-
ms.date: 02/05/2025
7+
ms.date: 06/20/2025
88
ms.service: sql
99
ms.subservice: performance
1010
ms.topic: conceptual
@@ -1191,15 +1191,15 @@ Each database row may use up to 14 bytes at the end of the row for row versionin
11911191
- The table has a trigger.
11921192
- Multiple Active Results Sets (MARS) is being used.
11931193
- Online index build operations are currently running on the table.
1194+
- [Accelerated database recovery (ADR)](/azure/azure-sql/accelerated-database-recovery) is enabled.
11941195
1195-
If the version store is in `tempdb`, these 14 bytes are removed from the database row the first time the row is modified under all of these conditions:
1196+
These 14 bytes are removed from the database row the first time the row is modified under all of these conditions:
11961197
11971198
- `READ_COMMITTED_SNAPSHOT` and `ALLOW_SNAPSHOT_ISOLATION` options are set to `OFF`.
11981199
- The trigger no longer exists on the table.
11991200
- MARS isn't being used.
12001201
- Online index build operations are not currently running.
1201-
1202-
The 14 bytes are also removed when a row is modified if ADR is no longer enabled and the above conditions are satisfied.
1202+
- [Accelerated database recovery (ADR)](/azure/azure-sql/accelerated-database-recovery) is disabled.
12031203

12041204
If you use any of the row versioning features, you might need to allocate additional disk space for the database to accommodate the 14 bytes per database row. Adding the row versioning information can cause index page splits or the allocation of a new data page if there isn't enough space available on the current page. For example, if the average row length is 100 bytes, the additional 14 bytes cause an existing table to grow up to 14 percent.
12051205

0 commit comments

Comments
 (0)