Method and system for dynamic join reordering
Abstract
A database engine and a system running a database engine utilize a dynamic join reordering feature to change the order of two or more join operations while a query is executing. The database engine starts execution of the query with an initial join order setting but monitors the execution of the query to determine whether the initial join order or some other join order would provide better runtime performance. If another join order would provide better performance, then the database engine can change the join order during query execution and complete the query using the new join order.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus, comprising: at least one computer processor; and program code configured upon execution by the at least one processor to monitor a query during runtime, wherein the query involves a plurality of join operations, wherein the plurality of join operations include a first join that includes a first table and a second table and a second join that includes the first table and a third table, and wherein the program code is configured to monitor the query by: running the query according to a first join order; generating a first portion of a result set for the query while running the quer
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 (20)
Non-Patent Literature (5)
- "SQL Package Creation and Distribution," IBM Technical Disclosure Bulletin, vol. 34, No. 7A, Dec. 1991.
- D. Chamberlin, "A complete guide to DB2 universal database (excerpt)." 1998, Morgan Kaufmann Publishers, USA, XP002316820.
- Don Chamberlin, "A Complete Guide to DB2 Universal Database," 1988 by Morgan Kaufmann Publisher, Inc. ISBN 1-55860-482-0, Chapter 7.5.1, Conservative Binding Semantics, pp. 453-455.
- Goetz Graefe, "Query Evaluation Techniques for Large Databases," ACM Computing Surveys, vol. 25, No. 2, Jun. 1993.
- Interim Guidelines for Examination of Patent Applications for Patent Subject Matter Eligibility; Annex IV; pp. 50-57; Nov. 22, 2005.