CPC G06F 16/24542 (2019.01) [G06F 8/48 (2013.01); G06F 9/3009 (2013.01); G06F 9/5044 (2013.01); G06F 16/24539 (2019.01); G06F 16/24554 (2019.01)] | 20 Claims |
1. A system, comprising:
at least one data processor; and
at least one memory storing instructions which, when executed by the at least one data processor, cause operations comprising:
executing sequentially a dynamically generated operation included in a query plan of a query on a dataset;
upon executing the dynamically generated operation a threshold quantity of times, initiating a compilation operation to generate precompiled code for the dynamically generated operation; and
upon generating the precompiled code, parallelizing execution of the precompiled code by at least
determining, based at least on a first quantity of time required to execute the precompiled code on a portion of the dataset, a first task size,
dividing, based at least on the first task size, the execution of the precompiled code into one or more tasks, and
allocating a first quantity of worker threads to perform the one or more tasks in parallel.
|