question

Bhuvans avatar image
Bhuvans asked

Estimating Time for Replication?

I did Merge Replication by using RMO. Every thing is working fine.. Progressbar, Log Files and the status message , Every thing is working kool in my app. But can we estimate the time ? (time to sync data from server to client or the whole replication process) Regards Bhuvan
sql-server-2008replicationmerge
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Grant Fritchey avatar image
Grant Fritchey answered
If you have the process already set up, you can monitor the times. So set up a test with a known data set, measure that and then extrapolate as necessary. Same way you'd estimate any other time on the system. Do this with the knoweldge that when you have multiple users on the system and there may be resource conention, time estimates could change. If you monitor your servers regularly you should be able to make some predictions in that regard too.
5 comments
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I'd do it the same way I'd do any other performance estimation, I'd do testing. Get a known data set of a certain size and then run it multiple times, preferably through different internet connections, once from home, once from the office, once from the coffee shop, etc. Get the measures of those times, document the speeds of those connections, then say, when connected at speed x we can expect an average merge time of y. At speed z, time q... etc. Testing is your friend.
1 Like 1 ·
is this possibe? because i am doing merge replication by using public IP to the server. I dont have much experience on replication, i am using first time
0 Likes 0 ·
Yes, it's possible to come up with an estimate. It won't be possible to come up with a guaranteed set of performance metrics because there are too many possible factors interfering, but yeah, you can create an estimate.
0 Likes 0 ·
how should i handle it? Which factors should i consider while estimating ?
0 Likes 0 ·
Wow., Ok ., :)
0 Likes 0 ·
Fatherjack avatar image
Fatherjack answered
That's going to be really tricky as there are so many things that can vary that will affect replication times - locking transactions, high CPU, network latency, disk I/O, index health and so on... Are you trying to deal with giving the user an estimate of remaining work during replication cycle?
7 comments
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

I would give a cost based estimate then, if you know the amount of data to replicate and how much has been then you can give a % complete figure ...
1 Like 1 ·
yes i am trying to estimate the remaining work and time(if possible), because now i am able to show the log to the user by using this handler MergeSub.SynchronizationAgent.Status += new AgentCore.StatusEventHandler(agent_Status);
0 Likes 0 ·
Can we calculate time like this, estimated data in MB to transfer , Network Download speed. by using the above two factors can we get the time takenb to transfer..
0 Likes 0 ·
Or else do we have any method to calculate the estimated replication time in RMO
0 Likes 0 ·
ok , how to go with cost based estimate? I had 187 Mb of data ( 2 lk records in a table)
0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.