Solved

SQL Merge replication slowing down each time a new Snapshot is generated

Posted on 2008-10-09
3
246 Views
Last Modified: 2008-11-11
I have merge replication set up with 2 publications of a database. Everything is fine except recently we noticed the initial sync is taking longer and longer. Incremental syncs are fine. We have tracked the slow performance down to the fact that the number of inserts on each table (info obtained by looking at the Synchronization hostory in replication monitor) was some 20 times the number of rows in the table (always an exact multiple). Now, if I re-initialise the subscriptions and create a new snapshot, the number of inserts increments by the number of rows in each table. This is happening on both publications on this server, but on our develpment server this does not happen. Any clues anyone ?
0
Comment
Question by:Serversys
  • 2
3 Comments
 
LVL 35

Expert Comment

by:David Todd
ID: 22683932
Hi,

I just tripped over an on-line article a couple of days ago that showed SQL slows down more and more for each snapshot - with something like 50 times slow-down at 5+ snapshots.

HTH
  David
0
 
LVL 35

Expert Comment

by:David Todd
ID: 22683936
Hi,

http://www.sqlservercentral.com/articles/Performance/64080/

Short answer is that snapshots are a good feature, but at a hefty performance cost. Avoid them if you can or performance is an issue.

HTH
  David
0
 

Accepted Solution

by:
Serversys earned 0 total points
ID: 22901072
Got Microsoft involved. Turned out it was a bug fixed in SQL2005 SP2
http://support.microsoft.com/default.aspx?scid=kb;EN-US;919949
What compounded the problem was that it turned out that the SQL server was reporting it was at SP2 but wasn't .
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now