Solved

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

Posted on 2008-10-09
3
249 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:Phil Catterall
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:
Phil Catterall 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

730 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