Validating multiple execution plans for database queries
Abstract
Validation of large numbers of alternative execution plans for a database query, either an exhaustive enumeration of the complete space of alternatives, or else an unbiased random sample, is performed by efficiently constructing execution trees from a data structure having groups alternative operators that are ranked in a directory. Each global rank of a plan identifies that plan uniquely among all the alternative plans. The operators are unranked from the directory according to a specification that characterizes the desired plans.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method implemented at least in part by a computing device for organizing multiple execution plans for database query, the method comprising the steps of: arranging a plurality of execution plans into a plurality of groups, each group having at least one operator associated with at least one operator in another of the groups; determining identification data for each operator related to other operators in the other of the groups; determining identification data for each execution plan based on the identification data for each operator, whereby the identification data for each execution plan un
- Claim 2Depends on #1
The method of claim 1 , wherein the identification data for each execution plan represents a combination of operator choices within the groups used to ob
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (38)
Non-Patent Literature (2)
- Kabra, N., et al., "Efficient mid-query re-optimization of sub-optimal query execution plans," ACM Press, 1998, 106-117.
- Wass, F., et al., "Counting, enumerating, and sampling of execution plans in a cost-based query optimizer," ACM Press, 2000, 499-509.