For protecting application databases in an enterprise environment from both planned and unplanned downtime, SQL Server 2012 introduces the AlwaysOn Availability Groups feature and a number of other high-availability enhancements.
In This Topic
AlwaysOn SQL Server Failover Cluster Instances
-
Multi-subnet failover clusters: A SQL Server multi-subnet failover cluster is a configuration where each failover cluster node is connected to a different subnet or different set of subnets. These subnets can be in the same location or in geographically dispersed sites. Clustering across geographically dispersed sites is sometimes referred to as Stretch clusters. As there is no shared storage that all the nodes can access, data should be replicated between the data storage on the multiple subnets. With data replication, there is more than one copy of the data available. Therefore, a multi-subnet failover cluster provides a disaster recovery solution in addition to high availability. For more information, see SQL Server Multi-Subnet Clustering.
-
Flexible failover policy for cluster health detection: In a SQL Server failover cluster instance, only one node can own the cluster resource group at a given time. The client requests are served through this node for that failover cluster instance. In the case of a failure, the group ownership is moved to another node in the failover cluster. This process is called failover. The improved failure detection introduced in SQL Server 2012, and addition of failure condition level property allows you to configure a more flexible failover policy. For more information, see Failover Policy for Failover Cluster Instances.
-
Indirect checkpoints: The indirect checkpoints feature provides a database-specific alternative to automatic checkpoints, which are configured by a server property. Indirect checkpoints implements a new checkpointing algorithm for the Database Engine. This algorithm provides a more accurate guarantee of database recovery time in the event of a crash or a failover than is provided by automatic checkpoints. To ensure that database recovery does not exceed allowable downtime for a given database, you can specify the maximum allowable downtime for that database.
Note
|
|
An online transactional workload on a database that is configured for indirect checkpoints could experience performance degradation.
|
For more information, see Database Checkpoints (SQL Server).
[Top]
AlwaysOn Availability Groups
Deploying AlwaysOn Availability Groups involves creating and configuring one or more availability groups. An availability group is a container that defines a set user databases (availability databases) to fail over as a single unit, and a set of availability replicas to host copies of each availability database. Each availability group requires at least two availability replicas: the primary replica and one secondary replica.
AlwaysOn Availability Groups provides a rich set of options that improve database availability and that enable improved resource use. The key components are as follows:
-
Multiple secondary replicas: one primary replica and up to four secondary replicas. For more information, see Overview of AlwaysOn Availability Groups (SQL Server).
-
Alternative availability modes: Asynchronous-commit mode and Synchronous-commit mode. For more information, see Availability Modes (AlwaysOn Availability Groups).
-
Several failover modes: automatic failover, planned manual failover, and forced manual failover. For more information, see Failover Modes (AlwaysOn Availability Groups).
-
Active secondary replicas, as follows:
Active secondary capabilities improve IT efficiency and reduce cost through better resource utilization of secondary hardware. In addition, offloading read-intent applications and backup jobs to secondary replicas helps to improve performance on the primary replica.
-
Availability group listeners that provide fast application failover after an availability group fails over. For more information, see Availability Group Listeners, Client Connectivity, and Application Failover (SQL Server).
-
A flexible failover policy for each availability group to provide some control over the automatic failover process. For more information, see Failover Modes (AlwaysOn Availability Groups).
-
Automatic page repair for protection against page corruption. For more information, see Automatic Page Repair (Availability Groups/Database Mirroring).
-
Forcing WSFC quorum (forced quorum). For more information, see Windows Server Failover Clustering (WSFC) with SQL Server.
-
Encryption and compression, which provide a secure, high performing transport.
-
Interoperation with the following SQL Server features:
For more information, AlwaysOn Availability Groups: Interoperability (SQL Server).
AlwaysOn Availability Groups Tools
AlwaysOn Availability Groups provides an integrated set of tools to simplify deployment and management of availability groups, including:
[Top]
-
Extended support for online index builds
Indexes that include columns of large object (LOB) data—varchar(max), nvarchar(max), varbinary(max), or XML data—can now be built, rebuilt, or dropped online. For information about online index operations, see Guidelines for Online Index Operations and Perform Index Operations Online.
-
Reduced downtime for application upgrade
Adding table columns that contain default values is now a metadata-only operation, so only a brief exclusive lock needs to be taken on the object, typically lasting for less than a second. Long-term exclusive table locks are no longer needed. For information about adding table columns, see Add Columns to a Table (Database Engine).
[Top]
Concepts