SQL Server
  Home arrow SQL Server arrow Page 6 - Replication: SQL Server 2000 - Part 1
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
SQL SERVER

Replication: SQL Server 2000 - Part 1
By: Mahesh Kodli
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 185
    2003-11-10

    Table of Contents:
  • Replication: SQL Server 2000 - Part 1
  • Replication Benefits
  • SQL Server Platform for Replication
  • Entities for the SQL Server Replication Model
  • Entities Further Explained...
  • Implementing Replication
  • Implementing Replication, Cont'd

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Replication: SQL Server 2000 - Part 1 - Implementing Replication


    (Page 6 of 7 )

    With the above basic knowledge we can now proceed to understand the implementation of replication.  There are different ways by which you can implement and monitor replication based on different replication types. But in general replication has the following general steps:

    • Configuring replication
    • Generating and applying initial snapshot
    • Modifying replicated data
    • Synchronizing and propagating data

    Configuring Replication:

    Configuring replication involves the following steps:

    1. Configure the publisher and distributor. Distributor can be on the same server or even on a different server
    2. Create publications based on data, sub sets of data and database objects
    3. Determine the type of replication to use, the subscriber database and location of the snapshot file
    4. Configure when the synchronization will occur and options that will be used with publications
    5. Create push and/or pull subscriptions at either the publisher or the subscriber and configure your replication schedule and options

    Generating and Applying Initial Snapshot:

    SQL server 2000 creates a snapshot of data and schema and saves it in the snapshot file location.  After the subscription is created, the snapshot is applied, and is based on a configured schedule.  Creating a publication or a snapshot can be applied manually.  The snapshot agent is responsible for creating the snapshot file and stores it in the snapshot file location.

    Modifying Replicated Data:

    Depending on the type of replication and replication options, the subscriber will be able to modify the data after the snapshot has been applied and propagate the changes back to the publisher or other subscribers.

    Synchronizing and Propagating Data Changes:

    Synchronization refers to the propagation of data changes between subscriber and publisher. How the data is synchronized is dependent on the type of replication used.

    • Incase of snapshot replication, a snapshot file is reapplied at the subscriber
    • Incase of transactional replication, all data modification through Insert/Update and Delete are distributed between publisher and subscriber
    • Incase of merge replication, data modification at various servers are merged.  Conflicts, if any, are detected and resolved.

    More SQL Server Articles
    More By Mahesh Kodli


       · Perfect way of explaining.ThanksNarendar Piryani
       · Such a beautiful way of explaining the whole repliation topic.Great Post!!!
       · gr8 job...Rajendra maloo
     

    SQL SERVER ARTICLES

    - Executing SQL Server Stored Procedure from P...
    - How to Search for Date and Time Values Using...
    - Replication: SQL Server 2000 - Part 2
    - Replication: SQL Server 2000 - Part 1
    - SQL Sever: Storing Code in Binary or Text Fi...
    - Execute SQL on Multiple Tables/Columns - New...
    - How to Connect to a SQL Server from Visual F...
    - SQL Server Hardware Tuning and Performance M...
    - Primary Key on Multiple Tables – New RDBMS C...
    - Migrating from Sybase to SQL Server
    - What's Best for DBAs? GUI or T-SQL Comma...
    - How to Perform a SQL Server Performance Audit
    - An Introduction To The Bulk Copy Utility
    - SQL Server Stored Procedures 101
    - Building Your First SQL Server 2000 Database







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek