The steps and importance of Mirroring is given below step by step,
- To get high availability to our server after clustering we do Mirroring.
- It’s a very effective failure option at database level without using or creating any Log shipping or any use of Sql Agent.
- It’s again a real time log shipping solution.
- Whatever modifications are done on Principal server or database the effect is copied to mirror server or database, but it doesn't show any acknowledgment that copy is done to Mirror server.
- Whenever user makes any changes to database (db) it's immediately not written on database, it's written in db_log buffer file which is stored in special location in memory or disk.
- The changes reflected - From log buffer file to Transaction log file which is called as Hardening.
But when any automatic failure is there then we need another server who will monitor the principal server and give the notification to Mirror server about principal server failure or the server goes down.

Navigation to open Sql Server Management Studio,
- Windows Start > All programs > Microsoft Sql Server 2008 > Sql Server management studio
- Connect with three servers
- Principal, Mirroring,and Witness
- First step right click on database > Property

- Here you will find the window were the options are mentioned in Operating Mode.

Options are mentioned below,
- High Performance Asynchronous
whatever changes are made on Principal Db Server it gets saved in Log buffer of Principal Db and the same copy goes to Mirror db for the changes but the principal server doesn’t wait for the acknowledgment about the changes so, no Synchronous in data. It is risky to maintain data. - High safety without automatic failover (Synchronous)
Both partners (Principal and Mirror Db) wait for Synchronous because Principal server wait for the acknowledgment about the changes made into Mirror Server db through the log Buffer. - High Safety with automatic failover
Require a witness server instance who will keep monitoring/checking for principal server failure or goes down and giving the notification to Mirror database.















Yashwant VishwakarmaPosted Jul 13, 2017, 11:28 PM
Awesome article, Keep it up.