Home > Windows Tips > > Troubleshooting replications
Win IT Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Troubleshooting replications


Barrie Sosinsky
12.09.2003
Rating: -2.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Merge replication is when you allow multiple sites to make changes or publish into a database, track changes, and then merge any changes into a target database. It is used to allow each site to be able to work independently without a full time connection. Snapshot replication, on the other hand, creates an image of the data in a database at a point in time and then replicates the snapshot to subscribers. A snapshot, once the original data image is established, is differential, and essentially refreshes any tables in its definition. Snapshots are a fast means of keeping data sets synchronized. People use snapshot replication when the latency involving table refresh is within allowable limits of your application.

Both snapshot and merge replications can be monitored using the Replication Monitor tool. That tool posts an error message or alert when a replication fails, as well as providing information about which processes have succeeded and which have failed. Thus the Replication Monitor is a good place to go to troubleshoot your replications. This tool allows you to set up agents that generate alerts, and specify where the alert is to be sent. To set up an alert, right click on the Agent and in the Agent Properties dialog box go to the Notification tab and fill in the behavior you need.

You'll find that most often replications fail because either connectivity was lost or because the process didn't have adequate security privileges to complete the replication. Both of these problems, once detected, can be detected using a remote stored procedure in a subscriber database. Replications use the security settings of your SQL Server agent. If you have a security issue, then check that you have sufficient privileges to access the working directory on the distribution server, and that you can create new data files and schema. Also, for any snapshot replication, check that you can properly access the databases that are part of your snapshot replication definition.

About the author

Barrie Sosinsky is president of consulting company Sosinsky and Associates (Medfield MA). He has written extensively on a variety of computer topics. His company specializes in custom software (database and Web related), training and technical documentation.


Rate this Tip
To rate tips, you must be a member of SearchWinIT.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Windows Technology Updates, Reviews and Solutions

Laptop Discounts with free coupon codes, huge savings at Notebook Review

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts