CPC G06F 16/24542 (2019.01) [G06F 16/2455 (2019.01)] | 20 Claims |
1. A system, comprising:
at least one processor; and
a memory, storing program instructions that when executed by the at least one processor, cause the at least one processor to implement a database system that implements both code generation with compilation and domain-specific language interpretation for query performance, wherein the database system is configured to:
receive a query to a database;
generate a plan to perform the query;
evaluate the plan to select between the code generation with compilation and the domain-specific language interpretation, for at least a portion of the plan, wherein the evaluation selects application of a domain-specific language to interpret and execute the portion of the plan to perform the query using one or more previously compiled executors instead of selecting to use the code generation with compilation implemented by the database system to execute the portion of the plan, wherein the one or more previously compiled executors were not compiled for a prior query received at the database system; and
return a result of the query obtained according to an execution of the plan.
|