Patents
US 8,996,504 B2#27043909 Most CitedActiveUnited States (USPTO)Utility

Plan caching using density-based clustering

4Forward Citations (#27043909 Global)
0.4/yrCitation Velocity (#22210691 Global)
1.12Citation PageRank (#35813556 Global)
1Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A query plan predictor receives a query instance according to a query template having a set of parameters. The query plan predictor determines a plan space point for the query instance which is based upon the set of parameters. The query plan predictor predicts a predicted query plan for the plan space point, which is selected from a map of query plans according to a confidence threshold from a plan cache that includes at least one histogram. Each histogram is representative of a cached query plan in the plan cache combined with a previously-selected locality-sensitive hashing function. The histogram stores a frequency distribution of a mapping of sample plan points for the cached query plan by the locality-sensitive hashing function.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: receiving, by at least one processing device, a query instance according to a query template having a set of parameters; determining, by the at least one processing device, a plan space point for the query instance, the plan space point based upon the set of parameters; and predicting, by the at least one processing device, a predicted query plan for the plan space point based upon precision, the precision being a ratio of a number of correct predictions to a number of NULL-free predictions, the predicted query plan selected from a map of query plans according to a confide

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (1)

Non-Patent Literature (5)

  • Abhirama, M. et al., "On the Stability of Plan Costs and the Costs of Plan Stability," Proceedings of the VLDB Endowment, vol. 3, No. 1, 2010, Singapore, pp. 1137-1148.
  • Asano, T. et al., "Space-filling curves and their use in the design of geometric data structures," Theoretical Computer Science, vol. 181, No. 1, Jul. 15, 1997, pp. 3-15.
  • Babcock, B. et al., "Towards a Robust Query Optimizer: A Principled and Practical Approach," SIGMOD 2005, Jun. 14-16, 2005, pp. 119-130.
  • Bizarro, P. et al., "Progressive Parametric Query Optimization," IEEE Transactions on Knowledge and Data Engineering, vol. 21, No. 4, Apr. 2009, pp. 582-594.
  • Chaudhuri, S. et al., "Variance Aware Optimization of Parameterized Queries" SIGMOD '10, Jun. 6-10, 2010, pp. 531-542.