Overview

Earlier, most of the applications like standalone applications were running on a single centralized server responding to multiple users, working in different locations areas.

With the help of replication in SQL Server we can achieve replication of data on different servers keeping in mind the data availability all the time when a user connects to a database or to a particular table. Using SQL Server replication, you can distribute data to wide area network, mobile users, and remote, dial up connection and so on.

WHAT is SQL SERVER REPLICATION?

Replication is one of the High Availability features available in SQL Server. Transactional Replication is used when DML or DDL schema changes performed on an object of a database on one server needs to be reflected on the database residing on another server. This change happens almost in real time (i.e. within seconds).

WHY SQL SERVER REPLICATION?

SQL Server replication allows database administrators to distribute data to various servers throughout an organization. You may wish to implement replication in your organization for a number of reasons, such as:

SQL SERVER REPLICATION ARCHITECTURE

ARCHITECTURE

This is a simple plain architecture of sql server replication architecture, here an publisher in which the database resides. Distributor is which takes ann DML,DDL statements and pass on to subscribers and execute on subscriber . Advisable, to keep publisher, distributor and subscriber on different different servers in order to achieve better performance as database size increases in TB you will see the difference by keeping these components on different servers.

REPLICATION COMPONENTS

SQL Server replication is based on publisher i.e. sender and subscriber i.e. receiver. Let’s take a look on various components that are used in replication:

REPLICATION TYPES

TYPES

Read more articles on SQL Server: