Method and system for a self-healing query access plan
Abstract
A self-healing database engine and optimizer framework support automatically responding to execution errors to allow continued execution of a query plan. Upon encountering an execution error, the database engine automatically initiates a rebuilding of the query plan and executes the rebuilt execution plan. If an error is encountered in the rebuilt query plan then the query implementation methods are analyzed. If a query function is identified for which an alternative implementation method is available, then this alternative implementation method is substituted to create a new query plan. The new query plan is then executed to determine if the error is corrected.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for automatic handling of errors within a database engine, the method comprising the steps of: detecting an error while executing a query access plan, wherein the error is an execution error of a type that halts execution of the query access plan, wherein the query access plan is of the type generated by a query optimizer, wherein the query access plan is generated prior to installation of a patch to at least one of the database engine and the query optimizer, wherein the patch comprises a program fix including executable code that modifies at least one of the database engine and the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (12)
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," 1998 by Morgan Kaufmann Publisher, Inc, ISBN 1-55860-482-0, Chapter 7.5.1, Conservative Binding Semantics, pp. 435-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.