May 12, 2014 at 10:32 am
It makes sense to me that adding indexes would greatly slow down replication. Think about it, for each index SQL Server has to make a copy of the data for the columns used in the index. So you are doing a lot more writes than you would be without indexes.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 12, 2014 at 2:00 pm
Thanks for your response. I understand that adding indexes will add some extra time to replicate all records. But an increase of >10000% ?
As you see in the log there are 4919 command/sec when writing without indexes and only 64 commands/sec with indexes on the Subscriber table. It's a huge difference and I really can't believe this has only to do with the indexes.
We had exactly the same replication set before on another server where the indexes added a few minutes to the replication time, but not a difference of almost 3 hours(!). So I really think the error has to be somewhere else:(
Viewing 2 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply