Share via


Tutorial: Replicating Data Between Continuously Connected Servers

Replication is a good solution to the problem of moving data between continuously connected servers. Using replication's wizards, you can easily configure and administer a replication topology. This tutorial shows you how to configure a replication topology for continuously connected servers.

What You Will Learn

This tutorial will show you how to publish data from one database to another using transactional replication. The first lesson shows how to use SQL Server Management Studio to create a publication. Later lessons show how to create and validate a subscription and how to measure latency.

Requirements

This tutorial is intended for users who are familiar with basic database operations, but who have limited experience with replication. This tutorial requires that you have completed the previous tutorial, Preparing the Server for Replication.

To use this tutorial, your system must have the following components:

  • At the Publisher server (source):

    • Any edition of SQL Server, except Express (SQL Server Express) or SQL Server Compact 3.5 SP1. These editions cannot be replication Publishers.

    • AdventureWorks sample database. To enhance security, the sample databases are not installed by default. For information about how to install the sample databases, see Considerations for Installing SQL Server Samples and Sample Databases.

  • Subscriber server (destination):

    • Any edition of SQL Server, except SQL Server Compact 3.5 SP1. SQL Server Compact 3.5 SP1 cannot be a Subscriber in transactional replication.

    Note

    Replication is not installed on SQL Server Express by default.

Note

In SQL Server Management Studio, you must connect to the Publisher and Subscriber using a login that is a member of the sysadmin fixed server role.

Estimated time to complete this tutorial: 30 minutes.

Lessons in This Tutorial

Start the Tutorial

Note

For reviewing tutorials we recommend that you add Next and Previous buttons to the document viewer toolbar. For more information, see Adding Next and Previous Buttons to Help.