Groups | Blog | Home
all groups > sql server replication > august 2006 >

sql server replication : how to reduce latency in Merge replication


perhiyar
8/21/2006 7:38:34 AM
I have setup merge replication environment among three servers having
SQL Server 2000 . Lels suppose servers are A,B and C. Server A and
Server C are publisher as well as subscriber to server B while Server B
is subscriber and publisher to both Server A and Server C. Now Whenever
a transaction is done in Server A (or server C). It is being replicated
to Server B immediately while it takes approximately one minute to
replicate that transaction to server C (or Serve A).

1. How can i improve replication configuration to reduce one minute
latency?
2. Should i disable snapshot agent?
3. Whenever server A goes offline when it comes online replication
monitor gets red cross. When i start sync manually i get rid of that
red cross. How can this red cross be avoided automatically?



With Regards
Ali Raza Rajput
Database Administrator
Hilary Cotter
8/21/2006 2:17:53 PM
defrag your merge tables (mscontents, tombstone, genhistory) and put indexes
on all of your filter columns.

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

Paul Ibison
8/21/2006 3:47:08 PM
To speed it up, you could run the merge agent continuously and reduce
the -PollingInterval to a minimum.
Disable the snapshot agent in your case, until a reinitialization is needed.
For the red cross, we'll need to know details of the exact error message.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

AddThis Social Bookmark Button