Patents
US 8,700,608 B2#8699767 Most CitedActiveUnited States (USPTO)Utility

SQL execution plan verification

12Forward Citations (#8699767 Global)
1.0/yrCitation Velocity (#6753864 Global)
1.59Citation PageRank (#20865971 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Approaches, techniques, and mechanisms are disclosed for ensuring that a database command is executed according to a query plan that has been verified to be actually optimal. Except in rare circumstances, a database server does not execute a query plan unless it is first verified by the database server. The database server receives a request to execute a database command. The database server determines an unverified plan is the best plan for satisfying the request. Rather than risk the unknown behavior of an unverified plan, the database server instead satisfies the request according to a verified plan. Subsequently—for example as part of a scheduled job—the database server executes the unverified plan to determine performance statistics. Based at least on the performance statistics, the database server determines whether or not to verify the unverified plan. Techniques for concurrent and optimistic verifications are also disclosed.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: maintaining, at a database server, plan verification data that identifies one or more query execution plans that have been designated as acceptable for use by the database server to execute a database commands, the database command being a query statement that instructs the database server to perform one or more operations on data stored in a database; receiving, at the database server, a first request to execute a database command; at the database server, identifying a plurality of alternative query execution plans for executing the database command in response to the fir

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 4,769,772 AAutomated query optimization method using both global and parallel local optimizations for materialization access planning for distributed databases1988420
US 4,803,614 ASystem for retrieving distributed information in a data base198949
US 4,829,427 ADatabase query code generation and optimization based on the cost of alternate access methods1989196
US 4,956,774 AData base optimizer using most frequency values statistics1990225
US 5,091,852 ASystem for optimizing query processing in a relational database1992221
US 5,251,131 AClassification of data records by comparison of records to a training database using probability weights1993283
US 5,287,459 AMethod and apparatus for reducing response time in automated library data retrieval systems1994113
US 5,315,580 ANetwork monitoring device and system1994210
US 5,325,525 AMethod of automatically controlling the allocation of resources of a parallel processor computer system by calculating a minimum execution time of a task and scheduling subtasks against resources to execute the task in the minimum time1994381
US 5,339,429 AParallel processing system and compiling method used therefor199449
US 5,379,424 ADistributed database management system for retrieving data files from databases selected based upon retrieval time199568
US 5,412,806 ACalibration of logical cost formulae for queries in a heterogeneous DBMS using synthetic database1995171
US 5,412,804 AExtending the semantics of the outer join operator for un-nesting queries to a data base1995256
US 5,444,820 AAdaptive system and method for predicting response times in a service environment1995124
US 5,452,468 AComputer system with parallel processing for information organization199588
US 5,459,837 ASystem to facilitate efficient utilization of network resources in a computer network1995563
US 5,469,560 APrioritizing pending read requests in an automated storage library1995138
US 5,495,606 ASystem for parallel processing of complex read-only database queries using master and slave central processor complexes1996217