CPC G06F 11/0772 (2013.01) [G06F 11/076 (2013.01); G06F 11/0757 (2013.01); G06F 11/1451 (2013.01); G06F 11/1464 (2013.01); G06F 11/1469 (2013.01); G06F 11/2069 (2013.01); G06F 11/2082 (2013.01); G06F 11/3034 (2013.01); G06F 2201/80 (2013.01)] | 20 Claims |
1. A method, comprising:
receiving, by a computer system from a plurality of host computers, a plurality of requests to access data stored in a database implemented using a plurality of clusters;
responding, by the computer system, to the plurality of requests by accessing data stored in an active cluster;
determining, by the computer system based on the responding, health information for ones of the plurality of clusters, wherein the health information is generated based on real-time traffic for the database;
periodically determining, by the computer system based on a cleanup time threshold, whether one or more access host computers have been removed from a pool of access host computers used in responding to the plurality of requests;
removing, by the computer system from the health information, one or more health ballots associated with one or more access host computers that have been removed from the pool;
determining, by the computer system based on the health information, whether to switch from accessing the active cluster to accessing a backup cluster; and
storing, by the computer system in respective clusters of the database, a changeover decision generated based on the determining.
|