What is database replicaion? What are the different types
of replication you can set up in SQL Server?

Answer Posted / neeraj singh bhandari

Replication is the technique provided by MS SQl server to
keep the replicate copy of database.

There are four basis type of Replication which we can set
up in sql server

1. Snapshot replication – It is used when data at Publisher
is static means not changing frequently and Subscriber need
update data

2. Transactional replication - It is used when data is
changing frequently at publisher and Subscriber need on
line data from publisher.

3. Merge replication- It is used when there is no constant
connection between Publisher and Subscriber. When they come
on line then data will replicate. In replication data
can conflict and resolve this there is rule set up already.

4. Transactional replication with Updateable Subscription-
It is similer to Transactional replication but update
backs to Publisher from Subscriber. In this it add extra
field in table called ms_repl- etc to keep the update data
from Subscriber.



We can also implement Peer to Peer replication which is
Headless topology. To do this we need enterprise edition of
sql server 2005. In this there is more than one Publishers
and one or more Subscribers. Every participant is both
Publisher and Subscriber. This is mostly use when every one
wants to read and modify the data.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of floor function in sql server?

540


How to create an multi-statement table-valued function?

526


What is trace flag in sql server?

519


can we have a nested transaction? : Sql server database administration

497


do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

480






What is difference between oltp and olap?

572


Is it true that rules do not apply to data already existing in a database at the time the rule is created?

557


Why truncate is ddl command?

512


How to create stored procedures with parameters in ms sql server?

526


Tell me about pre-defined functions of sql?

691


Is it ok to shrink transaction log?

514


explain declarative management framework (dmf) in sql server 2008?

578


How do I setup a local sql server database?

533


What is the function of inner join?

552


Mention the uses of stored procedures.

565