CPC G06F 11/1464 (2013.01) [G06F 11/1451 (2013.01); G06F 11/1461 (2013.01); G06F 11/1471 (2013.01); G06F 11/2025 (2013.01); G06F 2201/84 (2013.01)] | 30 Claims |
1. A system comprising:
a memory having computer-readable instructions stored thereon; and
a processor that executes the computer-readable instructions to:
create a highly available database comprising a source database stored at a first location and a copy of the source database stored at each of one or more second locations;
associate a user defined switch over policy with the highly available database;
select the first location or one of the one or more second locations as an initial active location;
capture at least one of one or more snapshots or one or more logs from the source database or the copy of the source database that is stored on the initial active location;
determine that the initial active location has become unavailable;
in response to the initial active location becoming unavailable, select another location from the first location and the one or more second locations as a next active location based on the switch over policy, wherein the switch over policy assigns a priority to at least some of the first location and the one or more second locations, and wherein the next active location is selected based on the priority; and
continue capture of the at least one of the one or more snapshots or one or more logs from the next active location.
|