What are Replication and Database Mirroring in SQL Server ?

Database mirroring can be used with replication to provide availability for the publication database. Database mirroring involves two copies of a single database that typically reside on different computers. At any given time, only one copy of the database is currently available to clients, which is known as the principal database.

Updates made by the clients to the principal database are applied to the other copy of the database, known as the mirror database. Mirroring involves applying the transaction log from every insertion, update, or deletion made on the principal database onto the mirror database.



You May Interest

How to Rebuild the Master Database in SQL Server ?

How to Show Line Numbers in MS SQL Server ?

Using Trim Function in MS SQL

Using MS SQL Order By

What is NOLOCK Hint in SQL Server ?