Category: Top » Computers » Data-recovery »


Author: astratton | Total views: 7 Comments: 0
Word Count: 746 Date: Wed, 11 Jul 2007 5:39 AM

SQL Server Replication for Data Storage for Your Business

Database management systems are among the most important software systems for businesses in the information age. SQL Server is an enterprise level RDBMS provided by Microsoft and is widely used in the business world. SQL Server provides the technology that allows you to replicate your data to different servers thus allowing your company data to be stored in more than one location - this process is called replication.

Replication is the process of sharing data between databases in different locations. Using replication, you create copies of the database and share the copy with different users. This allows them to make changes to their local copy of the database and later synchronize the changes to the source database.

Database replication can also supplement your disaster-recovery plans by duplicating the data from a local database server to a remote database server. If the primary server fails, your applications can switch to the replicated copy of the data and continue operations.

You can automatically backup a database by keeping a replica on a different computer. Replication allows you to continue making changes online.

You can replicate a database on additional network servers and reassign users to balance the loads across those servers.

Microsoft SQL server uses publishing industry model to represent the components and processes in replication architecture.

Based on the publication model we can identify the following entities for the SQL Server replication model: Publisher, Distributor, Agent, Subscriber, Articles, Publications, and Subscriptions.

Publisher

Publisher is a server that makes the data available for subscription to other servers. In addition to making data available for replication, a publisher also identifies what data has changed at the subscriber during the synchronizing process. Depending on the type of replication, changed data is identified at different instances. We will learn more about Replication types in the Replication Types section.

Distributor

Distributor maintains the Distribution Database. The role of the distributor varies depending on the type of replication. Two types of Distributors are identified: Remote distributor and Local distributor. Remote distributor is separate from publisher and is configured as a distributor for replication. Local distributor is a server that is configured as a publisher and a distributor.

Agents

Agents are the processes that are responsible for copying and distributing data between Publisher and subscriber.

Subscriber

Subscriber is a server that receives and maintains the published data.

Articles

An article can be any database object, viz. Tables, Views, Indexed views, Stored Procedures, User defined functions.

Publication

Publication is a collection of articles.

Subscriptions

Subscription is a request for copy of data or database objects to be replicated.

Subscription Types

Changes to the subscriptions at the publisher can be replicated to subscribers via PUSH subscription or PULL subscription. With Push subscription the publisher is responsible for synchronizing all the changes to the subscriber without the subscriber asking for those changes.

With Pull subscription the subscriber initiates the replication instead of the publisher.

Replication Types

Microsoft SQL Server supports the following types of replication: Snapshot Replication, Transactional Replication, and Merge Replication.

Snapshot Replication

Snapshot replication copies and distributes data and database objects exactly as they appear at the current moment in time.

Transactional Replication

In transactional replication, modifications to the publication at the publisher are propagated to the subscriber incrementally.

Merge Replication

Merge replication provides advantages of both Snapshot replication and Transactional replication. The initial snapshot applied to the subscribers and then SQL server tracks changes to the data at publisher and subscriber levels. The data is synchronized on a scheduled basis or on demand.

Replicating to Third Party Hosts

SQL Server can easily be configured to replicate data to a third party supplier over the internet. Thus allowing the third party supplier to house an up to date copy of your most important company databases. To this you will need to work closely with the third party supplier, but you have to ensure that your publications allow pull and anonymous subscriptions.

1. configure the publishers or distributor to listen on TCP/IP
2. configure the publication to use FTP
3. configure a subscription to use FTP

About the Author

SQL Server Replication is the process of replicating data from your company database to a database stored on another SQL Server. The second server can be hosted by a third party in Global Data Vault. Protect your company data at http://www.globaldatavault.com.




Rate, comment or bookmark this article

Seed Newsvine

Rating: Not yet rated

Bookmark this article in your preferred program
AddThis Social Bookmark Button

Comments RSS

No comments posted.

Add Comment

Your Name:


Your Email:


Comment

Enter the code shown

Visual CAPTCHA



Popular Articles in this cathegory

1: Data Deduplication - A Detailed Overview
Data deduplication or Single Instancing essentially refers to the elimination of redundant data. In the deduplication process, duplicate data is deleted, leaving only one copy (single instance) of the data to be stored. However, indexing of all data is still retained should that data ever be required.

2: Hard Disk Data Recovery Is Possible: Here's How To Get Back Your Files
Hard disk data recovery is probably not something you even think about until it happens to you. Once it does, you will quickly become familiar with all of the various techniques that can be used to retrieve your lost data. Learn about them right here.

3: Uses of External Hard Disks
Every computer has at least one hard disk; it is the data storage unit that holds the programs, operating system, and other user information. Our ever-increasing needs for extra data storage space has brought to the foray the use of external hard drives.

4: What To Do If Your Computer Crashes
You should back up your computer, but what if it happens to crash before you do?

5: Pen Drive - How Did It Come About?
Know all about the origin of pen drives and their journey through recent years as they became the preferred media for data backup.


Creative Commons License
This article is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.
Spanish taslation