Query transformation for queries involving correlated subqueries having correlation join predicates with local filtering predicates involving predicate transitive closure and predicate pull-out
Abstract
A method, apparatus, and article of manufacture for optimizing a query in a computer system, wherein the query is performed by the computer system to retrieve data from a database stored on the computer system. The optimization is performed by identifying a correlated subquery in the query that qualifies for transformation, transitively closing a local filtering predicate within the identified correlated subquery that is on a same column as a correlation join predicate within the identified correlated subquery, and pulling out or bubbling up the transitively closed predicate from the correlated subquery to a parent query block of the query.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 16.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of optimizing a query in a computer system, the query being performed by the computer system to retrieve data from a database stored on the comparer system, the method comprising: (a) identifying a correlated subquery in the query that qualifies for transformation; (b) transitively dosing a local filtering predicate within the identified correlated subquery that is on a same column as a correlation join predicate within the identified correlated subquery; (c) pulling out the transitively closed predicate from the correlated subquery to a parent query block of the query in order to cre
- Claim 2Depends on #1
The method of claim 1 , wherein the identifying step comprises recognizing that the correlated subquery is a Boolean term p
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗