Query directives and access plan hints
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)
- 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 ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (19)
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.