Typically, the Replication Merge Agent takes a long time to replicate changes. To determine which step of the merge replication synchronization process takes the most time, use trace flag 101 together with merge agent logging. To do this, use the following parameters for the merge agent parameters, and then restart the agent:
Note If you have to write stats to the <Distribution server>..msmerge_history table, use trace flag -T 102.
- -T 101
- -output
- -outputverboselevel
Note If you have to write stats to the <Distribution server>..msmerge_history table, use trace flag -T 102.