Skip to content

Commit 45745d2

Browse files
20220712 1625
1 parent 2244b85 commit 45745d2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This section contains guidance and recommendations for ADR.
5959

6060
- Ensure there is sufficient space on the database to account for PVS usage. If the database does not have enough room for the PVS to grow, ADR will fail to generate versions. ADR saves space in the version store compared to `tempdb` version store.
6161

62-
- Avoid long-running transactions in the database. Though one objective of ADR is to speed up database recovery due to redo long active transactions, long-running transactions can delay version cleanup and increase the size of the PVS.
62+
- Avoid multiple long-running transactions in the database. Though one objective of ADR is to speed up database recovery due to redo, multiple long-running transactions can delay version cleanup and increase the size of the PVS.
6363

6464
- Avoid large transactions with data definition changes or DDL operations. ADR uses a SLOG (system log stream) mechanism to track DDL operations used in recovery. The SLOG is only used while the transaction active. SLOG is checkpointed, so avoiding large transactions that use SLOG can help overall performance. These scenarios can cause the SLOG to take up more space:
6565

@@ -105,7 +105,9 @@ In this case, when the PVS filegroup is not specified, the `PRIMARY` filegroup h
105105

106106
You can configure ADR to use another filegroup, aside from the default `PRIMARY` filegroup, to hold PVS data.
107107

108-
Before running this script, create the `VersionStoreFG` filegroup and create a new data file in the filegroup. For example:
108+
Before enabling ADR in a filegroup besides `PRIMARY`, you must create the filegroup and data file.
109+
110+
Create the `VersionStoreFG` filegroup and create a new data file in the filegroup. For example:
109111

110112
```sql
111113
ALTER DATABASE [MyDatabase] ADD FILEGROUP [VersionStoreFG];

0 commit comments

Comments
 (0)