Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit c5b3522

Browse files
authored
Update to reflect behavior seen in a case
This section is added because it is expected behavior as clarified in RFC #11533525: Trace replay stalls (Batch Requests/sec drops to 0) when replaying Service Broker events
1 parent 7076fcb commit c5b3522

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

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

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)