CPC G06F 16/24545 (2019.01) [G06F 16/2379 (2019.01); G06F 16/24537 (2019.01)] | 18 Claims |
1. A computer-implemented method for processing queries in a hybrid database system, the method comprising:
receiving a query to be processed;
estimating an execution time of said query by an online transaction processing engine, wherein said online transaction processing engine comprises a database engine that functions to process online transaction processing workloads;
estimating an execution time of said query by a database accelerator, wherein said database accelerator comprises a database engine that functions to process analytical workloads;
determining a wait time for said database accelerator to process said query via heartbeat messages between said online transaction processing engine and said database accelerator, wherein said wait time corresponds to a delay in processing said query by said database accelerator, wherein said wait time for said database accelerator to process said query is retrieved every time a fixed period of time elapses through said heartbeat messages between said online transaction processing engine and said database accelerator; and
determining whether said online transaction processing engine or said database accelerator will process said query using said estimated execution time of said query by said online transaction processing engine, said estimated execution time of said query by said database accelerator and said wait time for said database accelerator to process said query.
|