Patents
US 7,337,169 B2#16823341 Most CitedExpiredUnited States (USPTO)Utility

Validating multiple execution plans for database queries

6Forward Citations (#16823341 Global)
0.3/yrCitation Velocity (#22691436 Global)
2.05Citation PageRank (#13967495 Global)
38Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Validation of large numbers of alternative execution plans for a database query, either an exhaustive enumeration of the complete space of alternatives, or else an unbiased random sample, is performed by efficiently constructing execution trees from a data structure having groups alternative operators that are ranked in a directory. Each global rank of a plan identifies that plan uniquely among all the alternative plans. The operators are unranked from the directory according to a specification that characterizes the desired plans.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 6.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method implemented at least in part by a computing device for organizing multiple execution plans for database query, the method comprising the steps of: arranging a plurality of execution plans into a plurality of groups, each group having at least one operator associated with at least one operator in another of the groups; determining identification data for each operator related to other operators in the other of the groups; determining identification data for each execution plan based on the identification data for each operator, whereby the identification data for each execution plan un

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the identification data for each execution plan represents a combination of operator choices within the groups used to ob

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (38)

PatentTitleYearCitations
US 5,068,904 AImage memory circuit for use in a rotation of image data199133
US 5,091,852 ASystem for optimizing query processing in a relational database1992221
US 5,598,559 AMethod and apparatus for optimizing queries having group-by operators1997205
US 5,608,904 AMethod and apparatus for processing and optimizing queries having joins between structured data and text data1997140
US 5,659,725 AQuery optimization by predicate move-around1997220
US 5,717,911 ARelational database system and method with high availability compliation of SQL programs1998167
US 5,778,364 AEvaluation of content of a data set using multiple and/or complex queries1998112
US 5,822,747 ASystem and method for optimizing database queries1998167
US 5,832,477 AMethod and apparatus for reordering complex SQL queries containing inner and outer join operations199871
US 5,913,205 AQuery optimization for visual information retrieval system1999234
US 5,940,819 AUser specification of query access paths in a relational database management system199998
US 5,956,706 AMethod and system for limiting the cardinality of an SQL query result1999127
JP 2001045500 AElectronic camera—10
JP 2001218077 AImage processor—11
US 6,339,770 B1Query simplification and optimization involving eliminating grouping column from group by operation corresponds to group by item that is constant200264
US 6,341,281 B1Database system with methods for optimizing performance of correlated subqueries by reusing invariant results of operator tree2002329
US 6,353,818 B1Plan-per-tuple optimizing of database queries with user-defined functions2002210
US 6,356,887 B1Auto-parameterization of database queries2002168
US 6,374,263 B1System for maintaining precomputed views2002144
JP 2002232766 ADigital camera—12
US 6,546,381 B1Query optimization system and method2003168
US 6,581,055 B1Query optimization with switch predicates200397
US 6,598,044 B1Method for choosing optimal query execution plan for multiple defined equivalent query expressions200330
US 6,618,719 B1Database system with methodology for reusing cost-based optimization decisions2003179

Non-Patent Literature (2)

  • Kabra, N., et al., "Efficient mid-query re-optimization of sub-optimal query execution plans," ACM Press, 1998, 106-117.
  • Wass, F., et al., "Counting, enumerating, and sampling of execution plans in a cost-based query optimizer," ACM Press, 2000, 499-509.