Skip to content

Commit e19d443

Browse files
authored
Merge pull request #986 from NathanMSFT/patch-5
Update to reflect behavior seen in a case
2 parents 469fb4a + 760a93f commit e19d443

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

docs/tools/distributed-replay/configure-distributed-replay.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ms.tgt_pltfrm: ""
1313
ms.topic: conceptual
1414
ms.assetid: aee11dde-daad-439b-b594-9f4aeac94335
1515
caps.latest.revision: 43
16-
author: "stevestein"
17-
ms.author: "sstein"
16+
author: stevestein
17+
ms.author: sstein
1818
manager: craigg
1919
---
2020
# Configure Distributed Replay
@@ -163,7 +163,23 @@ manager: craigg
163163
</OutputOptions>
164164
</Options>
165165
```
166-
166+
167+
### Possible Issue When Running With Synchronization Sequencing Mode
168+
You may encounter a symptom in which the replay functionality appears to “stall”, or replays events very slowly. This phenomenon can occur if the trace being replayed relies on data and/or events that do not exist in the restored target database.
169+
 
170+
One example is a captured workload that uses WAITFOR, such as in Service Broker’s WAITFOR RECEIVE statement. When using the synchronization sequencing mode, batches are replayed serially. If an INSERT occurs against the source database after the database backup, but before the replay capture trace is started, the WAITFOR RECEIVE issued during replay may have to wait the entire duration of the WAITFOR. Events set to be replayed after the WAITFOR RECEIVE will be stalled. This can result in the Batch Requests/sec performance monitor counter for the replay database target dropping to zero until the WAITFOR completes.
171+
172+
If you need to use synchronization mode and wish to avoid this behavior, you must do the following:
173+
174+
1. Quiesce the databases that you will be using as the replay targets.
175+
176+
2. Allow all pending activity to complete.
177+
178+
3. Backup the databases and allow backups to complete.
179+
180+
4. Start the distributed replay trace capture and resume the normal workload.
181+
182+
167183
## See Also
168184
[Administration Tool Command-line Options &#40;Distributed Replay Utility&#41;](../../tools/distributed-replay/administration-tool-command-line-options-distributed-replay-utility.md)
169185
[SQL Server Distributed Replay](../../tools/distributed-replay/sql-server-distributed-replay.md)

0 commit comments

Comments
 (0)