Patent ID: 11874751
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 19:
20. A computer system comprising:
one or more computer processors, one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:
program instructions to provide a primary data center, the primary data center comprising a primary source database system and a primary target database system, wherein a function is activated in the primary data center causing the primary target database system to:
comprise a copy of data of the primary source database system;
receive analysis queries from the primary source database system; and
execute the analysis queries on the data; and

program instructions to, in response to detecting a failure in the primary source database system:
offload queries intended for the primary source database system to a secondary source database system, the secondary source database system of a secondary data center further comprising a secondary target database system, the secondary source database system comprising a copy of the data, wherein the function is deactivated in the secondary data center;
responsive to the primary target database system being available:
receive, by the primary target database system, analysis queries, processed by the secondary source database system, of the offloaded queries; and
copy, by the primary target database system, the data to the secondary target database system; and
cause the function to be activated in the secondary data center.