Adaptive query optimization
Abstract
Techniques for processing queries are provided. In one approach, an execution plan for a query includes multiple sub-plans, one or more of which are selected at runtime while one or more other sub-plans are not executed during execution of the execution plan. In another approach, data about misestimate is generated and stored persistently for subsequent queries. In another approach, statistics for a database object are generated automatically and efficiently while the database object is created or data items are added thereto. In another approach, a hybrid histogram is created that includes a feature of frequency histograms and a feature of height-balanced histograms. In another approach, computer jobs are executed in such a way to avoid deadlock. In another approach, changes to a database object trigger a hard parse of a query even though an execution plan already exists for the query.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
One or more storage media storing instructions which, when executed by one or more processors, cause: in response to receiving a query, identifying an execution plan that comprises a plurality of sub-plans that includes a first sub-plan and a second sub-plan; wherein the first sub-plan comprises a first operation, of a first type, that can be performed during execution of the execution plan; wherein the second sub-plan comprises a second operation, of a second type that is different than the first type, that can be performed during execution of the execution plan; wherein no sub-plan in the pl
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 15 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- Deshpande et al., "Adaptive Query Processing", Foundations and Trends in Databases, vol. 1 No. 1, dated 2007, 140 pages.
- Kabra et al., "Efficient Mid-Query Re-Optimization of Sub-Optimal Query Execution Plans", Sigmond, dated 1998, 12 pages.
- Su, U.S. Appl. No. 14/041,952, filed Sep. 30, 2013, Advisory Action, Mar. 14, 2017.
- Su, U.S. Appl. No. 14/041,952, filed Sep. 30, 2013, Final Office Action, Dec. 27, 2016.
- Su, U.S. Appl. No. 14/041,952, filed Sep. 30, 2013, Notice of Allowance, Apr. 5, 2017