|
Measures reported by MsSqlRepLogMonTest
The Replication Log Reader Agent is an executable that monitors the transaction log of each database configured for transactional replication and copies the transactions marked for replication from the transaction log into the distribution database. Each database published using transactional replication has its own Log Reader Agent that runs on the Distributor and connects to the Publisher.
If the replication process is found to take too long to complete, then, you can monitor the operations of the Log Reader agent to figure out whether/not this agent is contributing to the slowdown. This can be achieved with the help of the Log Reader Replication Agent test. This test periodically monitors the activities of the Log Reader agent, and reveals how quickly the agent copies transactions to the Distributor; in the process, the test turns your attention to latencies (if any) in the agent's operations.
The measures made by this test are as follows:
| Measurement |
Description |
Measurement Unit |
Interpretation |
| Delivered_Cmds |
Indicates the rate at which the Log Reader agent delivered commands to the Distributor. |
Commands/Sec |
|
| Delivered_Trans |
Indicates the rate at which the Log Reader agent delivered transactions to the Distributor. |
Trans/Sec |
A high value is desired for this measure. If the value of this measure dips consistently over time, it is indicative of a slowdown. |
| Delivered_Latency |
Indicates the current amount of time, in milliseconds, elapsed from when transactions are applied at the Publisher to when they are delivered to the Distributor. |
MilliSec |
Ideally, the value of this measure should be 0 or very low. A high value indicates that the Log Reader agent is taking too much time to copy transactions to the Distributor.
The possible causes for this are as follows:
- A large number of replicated transactions in the transaction log;
- A large number of non-replication transactions;
- A large number of virtual log files (VLFs)
- Slow disk subsystem
- Unexpected network I/O problems
- Blocking by another SQL Replication Agent such as a the Distribution Cleanup Agent
|
|