Database system with methodology for distributing query optimization effort over large search spaces
Abstract
In a database system, a method for optimization of a query is described. When a query is received which requests data from a database, a plurality of plans which can be used for obtaining data requested by the query are enumerated. A search tree is created based upon these plans, with nodes of the search tree representing segments of the plans. A limited number of nodes of the search tree are selected for evaluation to limit the effort spent on query optimization. A complete plan for execution of the query is generated by evaluating the selected nodes of the search tree and, if the evaluation determines that a given node is more favorable than comparable nodes previously evaluated, retaining the given node as part of the complete plan.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 32 · Forward citations: 38.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
In a database system, a method for optimization of a query, the method comprising: receiving a query requesting data from a database; enumerating a plurality of plans which can be used for obtaining data requested by the query; creating a search tree based on said plurality of plans, the search tree having nodes representing segments of said plurality of plans; selecting a limited number of nodes of the search tree for evaluation to limit effort spent on query optimization; and generating a complete plan for execution of the query by performing the substeps of: evaluating the selected nodes of
- Claim 2Independent Claim
T
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 38 total)
References Cited — Backward Prior Art (32)
Non-Patent Literature (2)
- Chihping Wang; Ming-Syan Chen; On the Complexity of Distributed Query Optimization; Knowledge and Data Engineering, Aug. 1996IEEE Transactions on , vol.: 8 , Issue: pp.: 650-662.*
- Jhingran, A.; Padmanabhan, S.; Shatdal, A.;Advances in Parallel and Distributed Systems, Oct. 1993., Proceedings of the IEE Workshop on , pp. 144-119.