DISTRIBUTED AVAILABILITY GROUPS OF DATABASES FOR DATA CENTERS INCLUDING FAILOVER TO REGIONS IN DIFFERENT TIME ZONES
First Claim
1. A system comprising:
- a processor and memory; and
an application executed by the processor and memory to;
perform read and write operations for an online transaction processing system using a relational database on a first server during a first portion of a day during which a second server located in a different geographical location than the first server and having a replica of the relational database on the second server performs read operations for the online transaction processing system; and
perform read operations for the online transaction processing system during a second portion of the day during which the second server performs read and write operations for the online transaction processing system using the replica of the relational database on the second server to increase a response time for the read and write operations performed by the second server during the second portion of the day.
1 Assignment
0 Petitions
Accused Products
Abstract
A Distributed Availability Group (DAG) spans two AGs, each spanning one or more replica nodes and functioning as primary or secondary AG. A primary AG is replicated to the secondary AG synchronously or asynchronously. A failover in the DAG results in the AGs swapping their roles. Multiple DAGs can be linked together as a chain, which provides many useful features including disaster recovery across geographical regions, massive read scale (numerous readable secondary nodes), online migration of databases (across different operating systems and computing environments). The systems using DAGs can replicate databases across multiple independent high availability (HA) failover clusters using complex replication topologies and allow for manual failover and failback. The systems allow chaining of multiple AGs to provision a treelike structure of replicas and numerous secondary replicas without impacting performance. The systems automatically seed new database replicas to facilitate building a complex topology of DAGs.
-
Citations
20 Claims
-
1. A system comprising:
-
a processor and memory; and an application executed by the processor and memory to; perform read and write operations for an online transaction processing system using a relational database on a first server during a first portion of a day during which a second server located in a different geographical location than the first server and having a replica of the relational database on the second server performs read operations for the online transaction processing system; and perform read operations for the online transaction processing system during a second portion of the day during which the second server performs read and write operations for the online transaction processing system using the replica of the relational database on the second server to increase a response time for the read and write operations performed by the second server during the second portion of the day. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method comprising:
-
performing read and write operations for an online transaction processing system using a relational database on a first server during a first portion of a day during which a second server located in a different geographical location than the first server and having a replica of the relational database on the second server performs read operations for the online transaction processing system; and performing read operations for the online transaction processing system during a second portion of the day during which the second server performs read and write operations for the online transaction processing system using the replica of the relational database on the second server to increase a response time for the read and write operations performed by the second server during the second portion of the day. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system comprising:
-
a processor and memory; and an application executed by the processor and memory to; perform read and write operations for an online transaction processing system using a relational database on a first server during a first portion of a day during which a second server located in a different geographical location than the first server and having a replica of the relational database on the second server performs read operations for the online transaction processing system; perform read operations for the online transaction processing system during a second portion of the day during which the second server performs read and write operations for the online transaction processing system using the replica of the relational database on the second server; send a log file associated with the relational database on the first server from the first server directly to the second server to replicate the relational database on the second server following a write operation to the relational database on the first server when the first server performs the read and write operations and the second server performs the read operations during the first portion of the day; acknowledge the write operation to the relational database on the first server as being successful after receiving a confirmation from the second server that the second server successfully completed replication of the relational database on the second server after receiving the log file; receive a log file associated with the relational database on the second server directly from the second server to replicate the relational database on the first server following a write operation to the relational database on the second server when the second server performs the read and write operations and the first server performs the read operations during the second portion of the day; and send a confirmation from the first server to the second server that the first server successfully completed replication of the relational database on the first server after receiving the log file from the second server, wherein the second server is configured to acknowledge the write operation to the relational database on the second server as being successful after receiving the confirmation from the first server, wherein a response time for the read and write operations performed by the first server is increased during the first portion of the day; and wherein a response time for the read and write operations performed by the second server is increased during the second portion of the day.
-
Specification