Subsumption of views and subqueries
AssigneeOracle International Corporation
InventorsRafi Ahmed, Mohamed Ziauddin, Sankar Subramanian
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsRafi Ahmed, Mohamed Ziauddin, Sankar Subramanian
Estimating the term…
Techniques for subsumption of inline views and subqueries in a query are described. An optimization technique of subsumption is enabled by inline views having identical tables and identical join conditions and having aggregation functions but no group-by clauses. When subsumption takes place, a single query block replaces the inline views (or subqueries) with a single inline view query block. Subsumption reduces multiple access to the same table and multiple evaluations of the same join conditions required to evaluate the query. The single query block includes factored out filter predicates and unified predicates that originate from the subsumed inline views (or subqueries). Based on similarities among the aggregation functions and filter predicates in the subsumed inline views, pre-computation of common aggregates may be performed in a new group-by view in the subsuming view.
A computer-executed method, comprising:
One or more non-transitory computer-readable media storing one or more sequences of instructions that, when executed by one or more processors, cause:
Dependencies are inferred from the claim text.