Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to validate sql server 2008 merge replication

Posted on 2011-03-15
1
Medium Priority
?
484 Views
Last Modified: 2012-08-13
Hi Experts,

We had a SQL Server Cluster Failover for Publisher in a merge replication. I would check the logreader, dist and merge agents to see if they are succesful.

Can you please let me know if there are any validation methods/scripts available to validate the data is in Sync.

Thanks,
0
Comment
Question by:rocky_lotus_newbie
[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
1 Comment
 
LVL 40

Accepted Solution

by:
lcohan earned 2000 total points
ID: 35141968
The link below has all the system SP_... that you can use to check your replication status and if I understand corectly what the easiest way to check it is if you look on anyone of the databases in merge scenario the latest data entry/change into any user table part of the merge replication must be found (not instantaneoulsy but quick anough) on any other database table part of the merge scenario.


http://msdn.microsoft.com/en-us/library/ms147874.aspx

in particular you could monitor merge changes waiting to be uploaded or downloaded by running:

1.At the Publisher on the publication database, execute sp_showpendingchanges
2.At a Subscriber on the subscription database, execute sp_showpendingchanges
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
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, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
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.

722 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