Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

slowness between distributor and subscriber in TX replication with single subscirber

$
0
0

Hello,

I am using SQL Server 2012 SE and implementing TX replication with one subscriber.I am noticing that the replication between distributor to subscriber is having lot delays in the past one month but eventually get caught up after a couple of hours or so. Currently here is how the databases are

Publisher database is 220GB
SubscriberDB is 180GB
Distribution Database is 3GB

No new tables were added to the publisher database for a very longtime (not in the past 2years atleast). From a schema change perspective we are adding indexes to the publication database during a downtime and we are replicating schema changes. One was added a couple of days back and one may be a few months back. Right now I am noticing a delay that started around an hour back and slowly growing with delay of 45 mins and undistributed commands around 75000 and apparently the inserts from replication are causing some blocking to the application.

How do i know whats causing the slowness?
the exec sp_helppublication @publication = 'publicationname' returns imeediate_sync as 1
and select * from distribution.dbo.MSsubscriptions returns virtual for subscriberdb.

Please share your valuable thoughts so that I can get rid of this slowness between distributor ans subscriber.

Thanks a ton


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>