Report for amount of data replicated

  • Hello All,

    I have approximatly 50 databases (and growing) replicated to customers via merge replication. Replication happens every hour on the hour from 7PM to 5AM.

    I would like to see a report showing how much data was exchanged between my site and each customer per day (not replication cycle). If it broke it down by table that would be great.

    Is there a canned report or public domain script?

    Thanks in advance for any and all help,

    ER

  • At best here is a starting point.  Run this on the distribution db associated with your replication. 

    use distribution

    go

    select start_time,

     duration as [Seconds],

     rtrim(comments) as comments,

     current_delivery_rate as Avg#CmdsSec,

     current_delivery_latency,

     delivered_transactions,

     delivered_commands,

     average_commands,

     delivery_rate as CmdsSec,

     delivery_latency,

     total_delivered_commands

    From MSdistribution_history

    where current_delivery_rate > 0.0

     

    For additional information on the MSdistribution_history

    table look in Books On Line.

     

    Good Luck

    John

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply