Patents
US 7,630,958 B2#22062242 Most CitedActiveUnited States (USPTO)Utility

Query directives and access plan hints

5Forward Citations (#22062242 Global)
0.3/yrCitation Velocity (#26337260 Global)
1.27Citation PageRank (#29693981 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A query plan modification system and method relate to a database system that includes a cost-based optimizer for generating access plans. The database system also permits a user to view an access plan that has been generated by a particular SQL query and modify the access plan if desired. The user specifies customizations that are associated with the access plan so that when that plan is executed, the customizations are executed as well. Exemplary customizations include specifying an initialization file specific to a query, specifying different implementation methods than those in the original access plan, prohibiting rebuilding of an access plan, and over-riding or ignoring a clause within the query that is used to generate the access plan.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: at least one processor; a memory coupled with the at least one processor; and a program code residing in memory and executed by the at least one processor, the program code configured to: generate an access plan for a query using a cost-based optimizer; subsequent to generation of the access plan by the cost-based optimizer, receive one or more user preferences relating to the access plan, wherein the one or more user preferences are separate from the query and received from a user subsequent to generation of the access plan; associate the one or more preferences with

Technical Overview & Description

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

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 5,335,345 ADynamic query optimization using partial information1994244
US 5,600,831 AApparatus and methods for retrieving information by modifying query plan based on description of information sources1997223
US 5,822,748 AGroup by and distinct sort elimination using cost-based optimization199896
US 6,353,826 B1Database system with methodology providing improved cost estimates for query strategies2002116
US 6,516,310 B2System and methodology for join enumeration in a memory-constrained environment2003102
US 2003078909 A1Eliminating group-by operations in a join plan—27
US 2003200204 A1Substituting parameter markers for literals in database query language statement to promote reuse of previously generated access plans—31
US 2004006561 A1System and methodology for generating bushy trees using a left-deep tree join enumeration algorithm—46
US 2004093332 A1Method and system for reducing host variable impact on access path selection—14
US 6,738,756 B1Analysis method and apparatus for a parallel system200439
US 6,754,652 B2Database query optimizer framework with dynamic strategy dispatch200454
US 2004205053 A1System and method for caching database query statements—18
US 6,813,617 B2Dynamic generation of optimizer hints200432
US 2004220923 A1System and methodology for cost-based subquery optimization using a left-deep tree join enumeration algorithm—167
US 7,031,958 B2Patterned based query optimization200650
US 7,099,863 B2System and method for caching database query statements20069
US 7,308,437 B2Optimization of queries using retrieval status of resources used thereby200724
US 7,356,526 B2Estimating the compilation time of a query optimizer200824
US 7,440,935 B2Method and system for query directives and access plan hints20089

Non-Patent Literature (3)

  • Ambite et al., Flexible and Scalable Query Access Planning Using an Al Planner, Knowledgement and Database Engineering Exchange Workshop, 1997. Proceedings, Nov. 4, 1997, pp. 132-139.
  • Amsaleg et al., Scrambling Query to Cope with Unexpected Delays, Parallel and Distributed Information Systems, 1996, Fourth International Conferenece on, Dec. 18-20, 1996, pp. 208-219.
  • Ng et al., On Reconfiguring Query Execution Plans in Distributed Object-Relational DBMS, Parallel and Distributed Systems, 1998. Proceedings., 1998 International Conference on, Dec. 14-16, 1998, pp. 59-66, Digital Object Identifier 10.1109/ICPADS. 1998.741020.