Clear Your System Cache in Ubuntu with These Quick Steps
When you browse something in your web browser, a cache of the websites you visit…
In the last part of SQL database mirroring, you have learned about database mirroring and why it’s called SQL database mirroring. Now, let’s take a look at the operating modes of SQL database mirroring. SQL database mirroring can prove beneficial in terms of high availability and disaster recovery by setting it up to different operating modes. A DBA can choose among the three modes below, depending on their requirements –
The high-performance mode operates asynchronously when the transaction safety turned OFF. In this mode, only the principal server and mirror server come into the picture where data is written and committed on the principle server. Later, the data sent and committed to the mirror server. There’s no chance of automatic failure and also no user of the witness server –
Remember – You will get the high-performance mode only in the Enterprise edition of the SQL server.
Solutions if the principal database goes down –
High Safety Mode –
This is a synchronous operation mode including a witness server with complete safety. There is synchronous data writing and committing on the principle and mirror databases. The activity of the database application continued only after committing to both databases.
Remember – This operating mode might lead to delay and slowness since transactions committed on both databases.
Solutions if the principal database goes down –
High safety with automatic failover –
Three servers are essential for this mode as there is a synchronous operation. Here data written and must commit synchronously to the principle as well as mirror databases. The application will continue running only after committing to both databases.
Remember – Since it is essential to commit transactions on both databases, it might lead to latency and slower operations.
Solution if the principal server goes down –
So, these are the three operating modes of SQL database mirroring.
Explore more hosting insights, tips and industry updates.
When you browse something in your web browser, a cache of the websites you visit…
AWStats is a free, open-source web analytics tool that generates detailed reports about your website’s…
An Inter-Procedure Call (IPC) Socket, also known as a UNIX Domain Socket, is a special…