Definition

database mirroring

Part of the Database glossary:

Database mirroring is the creation and maintenance of redundant copies of a database. The purpose is to ensure continuous data availability and minimize or avoid downtime that might otherwise result from data corruption or loss, or from a situation when the operation of a network is partially compromised. Redundancy also ensures that at least one viable copy of a database will always remain accessible during system upgrades.

Database mirroring is used by Microsoft SQL Server, a relational database management system (RDBMS) designed for the enterprise environment. Two copies of a single database reside on different computers called server instances, usually in physical locations separated by some distance. The principal (or primary) server instance provides the database to clients. The mirror (or secondary) server instance acts as a standby that can take over in case of a problem with the principal server instance.

If 100-percent accuracy is required, database mirroring requires that the mirror server instance always stay current; in other words, the system must immediately copy every change in the principal's content to the mirror and vice-versa. In this mode, known as synchronous operation, the mirror is called a hot standby. While database mirroring can also work when the content is not fully synchronized, some data loss may occur if one of the server instances fails or becomes inaccessible. In this mode, called asynchronous operation, the mirror is called a warm standby.

The principal advantage of synchronous operation (with a hot standby) is a guarantee that both server instances contain identical information. However, this guarantee requires more frequent updates, resulting in latency that can slow down performance to an extent that some users may find unacceptable. The principal advantage of asynchronous operation (with a warm standby) is faster performance, but at the expense of the guarantee of identical information in both server instances at all times.

This was last updated in November 2012
Contributor(s): Stan Gibilisco
Posted by: Margaret Rouse

Related Terms

Definitions

  • Database as a Service (DBaaS)

    - Database as a Service (DBaaS) is a cloud-based approach to the storage and management of structured data. DBaaS delivers database functionality similar to what is found in relational database manag... (WhatIs.com)

  • NuoDB

    - NuoDB is a SQL-oriented transactional database management system designed for distributed deployment in the cloud. (SearchDataManagement.com)

  • MongoDB

    - MongoDB is an open source database that uses a document-oriented data model. (SearchDataManagement.com)

Glossaries

  • Database

    - Terms related to databases, including definitions about relational databases and words and phrases about database management.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.