Reordering predicates for disjunction of conjunctions database queries
AssigneeSap SE
InventorOliver Horn
Life of this patent
Estimating the term…
Loading patent…
AssigneeSap SE
InventorOliver Horn
Estimating the term…
The present disclosure involves systems, software, and computer implemented methods for reordering predicates for disjunction of conjunction database queries. One example method includes receiving a disjunction of conjunctions query including a set of parameter values. An estimated selectivity of each inner predicate of the disjunction of conjunctions query can be determined, based on the parameter values. Estimated selectivities of inner predicates of the disjunction of conjunctions query that reference a database column can be determined, to generate an aggregated estimated selectivity for the database column. An evaluation order for evaluating inner predicates for the disjunction of conjunctions query can be determined, based on aggregated estimated selectivities of respective database columns. The inner predicates are evaluated, during execution of the query, based on the evaluation order and the set of parameter values.
A computer-implemented method comprising:
A system comprising:
A computer program product encoded on a non-transitory storage medium, the product comprising non-transitory, computer readable instructions for causing one or more processors to perform operations comprising:
Dependencies are inferred from the claim text.