Solved

How to confirm sycronization between primary DB and secondary DB

Posted on 2008-06-19
5
244 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 250 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
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…

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now