Database Mirroring - Database Reference Guide - Foundation 23.1 - Foundation 23.1 - Ready - OnBase - external

Database Reference Guide

Platform
OnBase
Product
Database Reference Guide
Release
Foundation 23.1
License

Microsoft SQL Server 2005 (SP1) introduced database mirroring as a failover solution. This process moves database transactions from one SQL Server database to another SQL Server database on a different instance of SQL Server. The mirrored copy is a standby copy and cannot be accessed directly; it is only used as a failover solution. Mirroring offers three different modes of implementation, depending on how you want to handle failover processing:

  • High-safety with a witness (synchronous)—failover is automatic

  • High-safety without a witness (synchronous)—failover is manual

  • High-performance (asynchronous)—failover is manual

In high-safety mode, transactions are not considered committed until they are hardened on both the mirror and primary server. While this practice ensures the databases remain synchronized, it can result in decreased performance for the principal database. In high-performance mode, as soon as the transaction is sent to the mirror server and hardened on the principal, it is considered complete. The principal does not wait for any acknowledgment from the mirror server. Therefore, the two databases are not synchronized and there is a potential for data loss. However, overall performance of the primary database is less affected.

For more information on database mirroring, see the following Microsoft documents: