Subquery predicate generation to reduce processing in a multi-table join
Abstract
Provided are techniques for efficient subquery predicate generation to reduce processing in a multi-table join. It is determined that a query is to be rewritten, wherein the query includes a predicate for a first column of a first table and a second column of a second table. The query is rewritten with generated subquery predicates for the first table that are to be applied to the second table and with generated subquery predicates for the second table that are to be applied to the first table. Minimum and maximum ranges for columns of the generated subquery predicates at a cursor open are determined. The minimum and maximum ranges are merged to determine inclusive ranges that exist in the first table and the second table. The generated subquery predicates are rewritten as derived local subquery predicates with the inclusive ranges. The query with the derived local subquery predicates is executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform operations for: determining that a query is to be rewritten based on database statistics showing mismatched key ranges for column values used for a join between a first table and a second table, wherein the query includes a predicate for a first column of the first table and a second column of the second table, wherein the mismatched key ranges comprise a first range for the first table an
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Final Office Action 1 for U.S. Appl. No. 16/196,713, 24 pp., dated Apr. 23, 2020.
- List of IBM Patents or Patent Applications Treated as Related, Nov. 20, 2018, Total 2 pp.
- Mell, P. and T. Grange, “Effectively and Securely Using the Cloud Computing Paradigm”, [online], Oct. 7, 2009, retrieved from the Internet at <URL: http://csrc.nist.gov/groups/SNS/cloud-computing/cloud-computing-v26.ppt>, Total 80 pp.
- Mell, P. and T. Grange, “The NIST Definition of Cloud Computing (Draft)”, Sep. 2011, Computer Security Division Information Technology Laboratory National Institute of Standards and Technology, Total 7 pp.
- Notice of Allowance 1 for U.S. Appl. No. 16/196,713, 13 pp., dated Feb. 4, 2021.