Parameter-sensitive plans for structural scenarios
Abstract
Systems and methods that generate specialized plans for compiling SQL queries. A plan generator component scans the query representation for parameter sensitive predicates and evaluates each predicate individually based on the parameter values. Accordingly, queries can be identified not only based on their structures, but also based on their parameter conditions. The specialized plans are more efficient for particular values, wherein queries that employ such values are optimally executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented system comprising: a processor; a plan generator component configured to scan a representation of a query for parameter sensitive predicates; one or more specialized plans generated based, at least, on the parameter sensitive predicates, wherein the one or more specialized plans is configured to execute the query; one or more guard expressions configured to: evaluate a validity of pairing at least one of the one or more specialized plans with the query, wherein a guard expression is paired with a specialized plan; and output a Boolean value indicative of a determination
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- Anjali V. Betawadkar. Query Optimization With One Parameter. Feb. 1999. http://citeseer.ist.psu.edu/cache/paper/cs/26172/http:zSzzSzwww.cse.iitk.ac.inzSzresearchzSzmtech1997zSz9711104.pdf/betawadkar97query.pdf.
- S. Adah, et al. Query Caching and Optimization in Distributed Mediator Systems. 1996. pp. 137-148. http://www.public.asu.edu/~candan/pubs/sigmod96.ps.
- S. Adah, et al. Query Caching and Optimization in Distributed Mediator Systems. 1996. pp. 137-148. http://www.public.asu.edu/˜candan/pubs/sigmod96.ps.
- Sumit Ganguly. Design and Analysis of Parametric Query Optimization Algorithms. 1998. pp. 228-238. http://www.se.cuhk.edu.hk/~yu/papers/dynamic-parametricimplementation-vldb98.pdf.
- Sumit Ganguly. Design and Analysis of Parametric Query Optimization Algorithms. 1998. pp. 228-238. http://www.se.cuhk.edu.hk/˜yu/papers/dynamic-parametricimplementation-vldb98.pdf.