If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Replication - Several Transactions Occurring

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-08-12, 10:08
MSSQL_NL MSSQL_NL is offline
Registered User
 
Join Date: Feb 2012
Posts: 1
Replication - Several Transactions Occurring

I have configured a transactional replication between 2 MSSQL 2005 instances. It is set to replicate every 15 minutes. Most replications take less than a minute with about 10 - 50 transactions being replicated.

However, 3 times during the day, the replication takes about 25 minutes to complete with 500-700 transactions being replicated. This also causes the application that is accessing the DB being replicated to become unresponsive when it attempts to retrieve rows from tables in the DB.

Might there be a setting that causes the transactional replication to accumulate transactions during the day?
Reply With Quote
  #2 (permalink)  
Old 02-08-12, 10:54
MCrowley MCrowley is offline
Wage drone 24601
 
Join Date: Jan 2003
Location: Massachusetts
Posts: 4,899
There are a couple of pieces involved in replication. Are you talking about the logreader being kicked off every 15 minutes, or the distribution job? I am going to assume you are looking at the Synchronization status, and that the distribution job is what is set to run every 15 minutes. In that case, you almost certainly have some sort of automated process that hits the database with a bunch of transactions at some point(s) during the day. To find out what process this may be, set up a profiler trace to capture activity on the publisher to see what is going on in the half hour before the 500-700 transactions usually happen.
Reply With Quote
Reply

Tags
replication, transactional, transactions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On