Replication is the process of copying and
maintaining database objects in multiple databases that make up a
distributed database system. Changes applied at one site are captured
and stored locally before being forwarded and applied at each of the
remote locations. Replication provides user with fast, local access to
shared data, and protects availability of applications because alternate
data access options exist. Even if one site becomes unavailable, users
can continue to query or even update the remaining locations.
In SQL Server 2012 Management Studio you can create replication very simply. Replication makes your database more secure and effective
Here the steps ,
1. Log on to the database server and R-click on the Replication folder and select new publication
2. In new publication click next.
3. Select distributor that can be responsible for storing replication info. I don't have any other servers I select default server in my desktop
4. In SQL Server Agent select whether SQL Server agent should start automatically or not then click next
5. Then it will displays snapshot folder.
6. Then select database that you want to replicate. After that it prompt select Publication type to replicate your database. For each publication type preview window in bottom will show discription about each of them. Select it as you want and click next.
7. Then in Articles we can choose objects to publish in replication. then click next
8. Add data filters if you need. then click next in the prompt
9. Schedule snapshot agent as you want. It will give you time bounded option as well.
10. In Agent security add snapshot agent. I choose SQL Server agent account and finally click finish. and add publication name in prompt.
Its done..
In SQL Server 2012 Management Studio you can create replication very simply. Replication makes your database more secure and effective
Here the steps ,
1. Log on to the database server and R-click on the Replication folder and select new publication
2. In new publication click next.
3. Select distributor that can be responsible for storing replication info. I don't have any other servers I select default server in my desktop
4. In SQL Server Agent select whether SQL Server agent should start automatically or not then click next
5. Then it will displays snapshot folder.
6. Then select database that you want to replicate. After that it prompt select Publication type to replicate your database. For each publication type preview window in bottom will show discription about each of them. Select it as you want and click next.
7. Then in Articles we can choose objects to publish in replication. then click next
8. Add data filters if you need. then click next in the prompt
9. Schedule snapshot agent as you want. It will give you time bounded option as well.
10. In Agent security add snapshot agent. I choose SQL Server agent account and finally click finish. and add publication name in prompt.
Its done..
0 comments:
Post a Comment