Skip to content

Latest commit

 

History

History
192 lines (118 loc) · 17.8 KB

File metadata and controls

192 lines (118 loc) · 17.8 KB
title Always On Availability Groups (SQL Server) | Microsoft Docs
ms.custom
ms.date 2016-05-17
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
dbe-high-availability
ms.tgt_pltfrm
ms.topic article
helpviewer_keywords
Availability Groups [SQL Server], about
secondary replicas, see Availability Groups [SQL Server]
availability [SQL Server]
AlwaysOn [SQL Server], see Availability Groups [SQL Server]
Availability Groups [SQL Server]
ms.assetid aa427606-8422-4656-b205-c9e665ddc8c1
caps.latest.revision 35
ms.author mikeray
manager jhubbard

Always On Availability Groups (SQL Server)

[!INCLUDEtsql-appliesto-ss2016-xxxx-xxxx-xxx_md]

The [!INCLUDEssHADR] feature is a high-availability and disaster-recovery solution that provides an enterprise-level alternative to database mirroring. Introduced in [!INCLUDEssSQL11], [!INCLUDEssHADR] maximizes the availability of a set of user databases for an enterprise. An availability group supports a failover environment for a discrete set of user databases, known as availability databases, that fail over together. An availability group supports a set of read-write primary databases and one to eight sets of corresponding secondary databases. Optionally, secondary databases can be made available for read-only access and/or some backup operations.

An availability group fails over at the level of an availability replica. Failovers are not caused by database issues such as a database becoming suspect due to a loss of a data file, deletion of a database, or corruption of a transaction log.

In this Topic:

Benefits

[!INCLUDEssHADR] provides a rich set of options that improve database availability and that enable improved resource use. The key components are as follows:

Terms and Definitions

availability group
A container for a set of databases, availability databases, that fail over together.

availability database
A database that belongs to an availability group. For each availability database, the availability group maintains a single read-write copy (the primary database) and one to eight read-only copies (secondary databases).

primary database
The read-write copy of an availability database.

secondary database
A read-only copy of an availability database.

availability replica
An instantiation of an availability group that is hosted by a specific instance of [!INCLUDEssNoVersion] and maintains a local copy of each availability database that belongs to the availability group. Two types of availability replicas exist: a single primary replica and one to eight secondary replicas.

primary replica
The availability replica that makes the primary databases available for read-write connections from clients and, also, sends transaction log records for each primary database to every secondary replica.

secondary replica
An availability replica that maintains a secondary copy of each availability database, and serves as a potential failover targets for the availability group. Optionally, a secondary replica can support read-only access to secondary databases can support creating backups on secondary databases.

availability group listener
A server name to which clients can connect in order to access a database in a primary or secondary replica of an Always On availability group. Availability group listeners direct incoming connections to the primary replica or to a read-only secondary replica.

Interoperability and Coexistence with Other Database Engine Features

[!INCLUDEssHADR] can be used with the following features or components of [!INCLUDEssNoVersion]:

Warning

For information about restrictions and limitations for using other features with [!INCLUDEssHADR], see Always On Availability Groups: Interoperability (SQL Server).

Related Tasks

Related Content

See Also

Overview of Always On Availability Groups (SQL Server)
Prerequisites, Restrictions, and Recommendations for Always On Availability Groups (SQL Server)
Configuration of a Server Instance for Always On Availability Groups (SQL Server)
Creation and Configuration of Availability Groups (SQL Server)
Administration of an Availability Group (SQL Server)
Monitoring of Availability Groups (SQL Server)
Overview of Transact-SQL Statements for Always On Availability Groups (SQL Server)
Overview of PowerShell Cmdlets for Always On Availability Groups (SQL Server)