Patents
US 6,999,958 B2#1145635 Most CitedExpiredUnited States (USPTO)Utility

Runtime query optimization for dynamically selecting from multiple plans in a query based upon runtime-evaluated performance criterion

45Forward Citations (#1145635 Global)
2.2/yrCitation Velocity (#1617808 Global)
4.76Citation PageRank (#3596327 Global)
8Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

An apparatus, program product and method perform runtime query optimization during execution of a query to select from among multiple available plans, or implementations, capable of implementing the query. The runtime query optimization utilizes a runtime-derived performance criterion to dynamically select from among multiple query implementations. A performance criterion is dynamically evaluated during execution of at least a portion of a query, and one of a plurality of query implementations defined in the query is selected based upon the dynamically-evaluated performance criterion. Once selected, execution of the query is continued using the selected query implementation.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method of executing a database query, the method comprising: (a) dynamically evaluating at least one performance criterion for a query during execution of at least a portion of the query; (b) selecting one of a plurality of query implementations defined in the query based upon the dynamically-evaluated performance criterion; and (c) continuing execution of the query using the selected query implementation; wherein dynamically evaluating the performance criterion includes accessing a query data structure that includes the plurality of query implementations to obtain the p

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the performance criterion is associated with a runtime-derived parameter.

Technical Overview & Description

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

Non-Patent Literature (4)

  • G. Mitchell, "Extensible Query Processing in an Object-Oriented Database," May 1993, Thesis, Department of Computer Science, Brown University, pp. 1-166.
  • IBM Patent Application filed on even date herewith by Carlson et al., "Method for Efficient Processing of Multi-State Attributes".
  • IBM Patent Application filed on even date herewith by Carlson et al., "Object-Oriented Query Execution Data Structure".
  • IBM Patent Application filed on even date herewith by Carlson et al., "Parallel Database Query Processing for Non-Uniform Data Sources via Buffered Access".