Register now or log in to join your professional community.
Replication will work at object level and mirroring will work at database level.with the help of replication we will take the backup of particular tables and stored procedures instead of taking entair database backup.
I would say economically replication is better option, this way you can have distributed system and fully utilioze the HW resource. Where DB mirrioring you can only have Active passive situation.
Currently Always-on is the replacement of DB mirrioring - so I would encourge you to use this - yes it is dependent on Windows clustering but it will at least load balance and make use of all resources.
Replication and Mirroring are two different feature of MS SQL used for replicating data.
Replication is object level (tables having primary key can be replicated) and Mirroring is Database level replication.
Replication has 4 different types in it
- Snapshot Replication
- Transactional Replication
- Merge Replication
- Peer to Peer replication
all of these have their own advantages and disadvantages.
In Mirroring we have automatic and manual failover. Mirroring is used as High Availability.
visit the following url may be answer your question
http://stackoverflow.com/questions//sql-server-replication-or-mirroring
http://simplesql.blogspot.com/2011/01/replication-vs-mirroring-and-what-to.htm
lhttp://sqlmag.com/blog/san-replication-vs-clustering-vs-mirroring
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/bba2dd02-bb64-4f8c-9b92-fdf4a23f5fd2/differences-between-clusters-mirroring-replication-and-alwayson-at-a-very-high-level?forum=sqldisasterrecovery