US 12,265,537 B2
JIT code compilation during runtime based on runtime statistics
Cheng-Lun Li, Nussloch (DE); Till Merker, Sandhausen (DE); Manuel Mayr, Walldorf (DE); and Paul Willems, Heidelberg (DE)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Jul. 19, 2023, as Appl. No. 18/354,990.
Prior Publication US 2025/0028719 A1, Jan. 23, 2025
Int. Cl. G06F 16/2453 (2019.01)
CPC G06F 16/24542 (2019.01) 20 Claims
OG exemplary drawing
 
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:
generating, by a database execution engine, a query plan including a plurality of operators;
inserting, by the database execution engine, an enforce compilation operator into the query plan that includes the plurality of operators, the plurality of operators comprising a first operator, the enforce compilation operator, and a second operator;
executing at least the first operator of the query plan;
in response to executing the first operator, evaluating, by the database execution engine, an output of the first operator to determine whether a condition is satisfied; and
in response to the condition being satisfied, triggering, by the database execution engine, a just-in-time compilation of the second operator.