Solved

How to confirm sycronization between primary DB and secondary DB

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
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…
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…

830 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