Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I fix latency in transactional replication in SQL Server 2005?

Posted on 2014-10-03
2
Medium Priority
?
224 Views
Last Modified: 2014-10-30
We had to configure transactional replication in our clustered environment . The configuration was set correctly but after an hour or so we saw latency with a difference of 15 minutes or so. How do we investigate this and fix this?  Also, I would like to how logshipping and replication work in conjuction?
0
Comment
Question by:S R S
2 Comments
 
LVL 52

Expert Comment

by:Vitor Montalvão
ID: 40363193
Open the Replication Monitor and check the information in the 'Undistributed Commands' tab.
Also, I would like to how logshipping and replication work in conjuction?
I don't know what it's really your question here but you can use logshipping on a database that it's used in a Replication solution no matter it function is (Publisher or Subscriber).
0
 
LVL 43

Accepted Solution

by:
Eugene Z earned 2000 total points
ID: 40365058
it could be related to some process (s) that may run at the same time and that is blocking\locking server resources. if it is just an initial replication setup:
it can be acceptable during index run on subscriber..
check Replication Monitor  logs to see if replication setup is completed...
..
more:
Measuring Latency and Validating Connections for Transactional Replication
http://msdn.microsoft.com/en-us/library/ms151178(v=sql.90).aspx


and just in case
Troubleshooting Transactional Replication
http://sqlmag.com/database-administration/troubleshooting-transactional-replication
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

886 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