Method and system for query directives and access plan hints
Abstract
A query plan modification system and method relates 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: 13 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for associating user preferences with an access plan, the method comprising the steps of: generating an access plan for a query using a cost-based optimizer; subsequent to generation of the access plan by the cost-based optimizer, receiving 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; associating the one or more preferences with the access plan; storing the access plan and the associated one or more user preferences such that the acces
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (2)
- Ambite et al., Flexible and Scalable Query Access Planning Using an Al Planner, Knowledgement and Database Engineering Exchange Workshop, 1997. Proceddings, Nov. 4, 1997, pp. 132-139.
- 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.