Patents
US 7,917,498 B2#80275634 Most CitedActiveUnited States (USPTO)Utility

Method and system for dynamic join reordering

0Forward Citations (#80275634 Global)
0.0/yrCitation Velocity (#80275634 Global)
0.56Citation PageRank (#80275634 Global)
20Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

PatentTitleYearCitations
US 5,345,585 AMethod for optimizing processing of join queries by determining optimal processing order and assigning optimal join methods to each of the join operations199492
US 5,724,568 AReordering complex SQL queries containing inner and outer join operations using hypergraphs and required sets199831
US 6,377,943 B1Initial ordering of tables for database queries200283
US 6,397,204 B1Method, system, and program for determining the join ordering of tables in a join query2002110
US 6,442,539 B1Generating statistics for database queries using tensor representations200214
US 6,487,549 B1Generating union queries using tensor representations200223
US 2002188600 A1Outerjoin and antijoin reordering using extended eligibility lists—79
US 2002198867 A1Learning from empirical results in query optimization—191
US 6,502,089 B1Generating restriction queries using tensor representations200241
US 6,564,204 B1Generating join queries using tensor representations200360
US 2003126127 A1Estimation of join fanout using augmented histogram—25
US 2003187831 A1Database query optimizer framework with dynamic strategy dispatch—58
US 2004010488 A1Method and apparatus for exploiting statistics on query expressions for optimization—100
US 2004019587 A1Method and device for processing a query in a database management system—59
US 2004064441 A1Systems and methods for providing structured query language optimization—27
US 2004066561 A1Zoom optical system and imaging apparatus using the same—25
US 6,754,652 B2Database query optimizer framework with dynamic strategy dispatch200454
US 2004210563 A1Method and system of collecting execution statistics of query statements—41
US 2004236722 A1System and method for cardinality estimation based on query execution feedback—40
US 2005125427 A1Automatic SQL tuning advisor—67

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.