Patent ID: 11868359
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 6:
7. A method, comprising:
receiving a query to a database at a first query engine;
determining, by the first query engine, that the query is eligible to be performed by the first query engine and a second query engine, wherein the first query engine and the second query engine are provisioned to perform queries to the database in response to the query or a prior query to the database;
determining, by the first query engine, a first predicted query execution time for the first query engine to perform the query and a second predicted query execution time for the second query engine to perform the query to determine whether to assign the first query engine or the second query engine to perform the query; and
responsive to an assignment of the query to the second query engine based on a comparison between the first predicted query execution time and the second predicted query execution time, causing, by the first query engine, the second query engine to begin performing the query to the database.