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

x
?
Solved

How to confirm sycronization between primary DB and secondary DB

Posted on 2008-06-19
5
Medium Priority
?
250 Views
Last Modified: 2010-03-19
How can i confirm that my primary DB and secondary DB are properly syncing?
0
Comment
Question by:funnymanmike
  • 3
5 Comments
 
LVL 17

Expert Comment

by:Daniel Reynolds
ID: 21826940
if you are only concerned with record counts, you can
1) create a script that will do counts of each table in both databases and compare the counts.

alternatively,
if you have a modified date in the rows of a table, you can select the max(modified_date) from each table and compare as well.
 
0
 
LVL 14

Expert Comment

by:Jagdish Devaku
ID: 21828912
U can also check them third party tools

apex sql diff

sql delta (recommended)

0
 
LVL 17

Expert Comment

by:Daniel Reynolds
ID: 21831746
yes, redgate has some good db comparison as well.
0
 
LVL 5

Author Comment

by:funnymanmike
ID: 21831804
so nothing internal to sql? do data comparison in general or error log?
0
 
LVL 17

Accepted Solution

by:
Daniel Reynolds earned 1000 total points
ID: 21831937
On your server, in SQL Server mgmt studio you can right click on Replication (TRee view under your database). View the local publications and right click on the publication items you are interested in...from there you have several options, but one is to "View REplication Status". Select that to see the current or latest replication status.
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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

916 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