Dynamic predicate reordering at runtime
AssigneeSnowflake Inc.
InventorsSebastian Breß, Max Heimel, Adrian Peter Neumann, Malek Souissi, Konstantinos Zoumpatianos
Life of this patent
Estimating the term…
Loading patent…
AssigneeSnowflake Inc.
InventorsSebastian Breß, Max Heimel, Adrian Peter Neumann, Malek Souissi, Konstantinos Zoumpatianos
Estimating the term…
The subject technology receives a first query plan corresponding to a query, the first query plan comprising a set of predicates. The subject technology receives, during execution of a first portion of the first query plan, a set of rowsets. The subject technology determines a set of metrics for a first number of rows from a plurality of rows, the first number of rows corresponding to a first predicate order. The subject technology determines, using a heuristic, a second predicate order based at least in part on the set of metrics. The subject technology processes, during execution of the first portion of the first query plan using the second predicate order, a second set of rowsets, the second set of rowsets comprising a second plurality of rows that correspond to the first portion of the first query plan that has been executed based on the second predicate order.
A system comprising:
A method comprising:
A non-transitory computer-storage medium comprising instructions that, when executed by one or more processors of a machine, configure the machine to perform operations comprising:
Dependencies are inferred from the claim text.