Patents
US 7,213,012 B2#662461 Most CitedExpiredUnited States (USPTO)Utility

Optimizer dynamic sampling

60Forward Citations (#662461 Global)
3.2/yrCitation Velocity (#797299 Global)
8.70Citation PageRank (#1336002 Global)
7Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Described herein are approaches to implementing dynamic sampling in a way that lessens or eliminates the additional overhead incurred to perform dynamic sampling. Also described are techniques for determining characteristics about predicates not previously determined by conventional techniques for dynamic sampling. Dynamic sampling is used by a query optimizer to dynamically estimate predicate selectivities and statistics. When a database statement is received by a database server, an initial analysis of the database statement is made to determine the efficacy of dynamic sampling, that is, to determine whether optimization of the query would benefit from dynamic sampling and whether performance is not excessively impacted by the dynamic sampling process. If this analysis determines dynamic sampling should be used, then dynamic sampling is undertaken.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method used for optimizing queries, the method comprising the computer-implemented steps of: receiving a first query that requires access to a first table; generating a first execution plan for executing said first query; based on a set of one or more factors, determining whether to execute another query to access a subset of rows as a sample from said first table and to generate results used to evaluate efficiency of execution plans for executing said first query; wherein said one or more factors include at least one factor that reflects the efficacy of executing said o

Technical Overview & Description

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

Non-Patent Literature (5)

  • Barlos et al, "On the Development of a Site Selection Optimizer for Distributed and Parallel Database Systems", ACM 1993, pp. 684-693.
  • Dan E. Willard, "Optimal Sample Cost Residues for Differential Database Batch Query Problems," Journal of the Association for Computing Machinery, vol. 38. No. 1, Jan. 1991, pp. 104-119.
  • Frank Olken et al., "Random Sampling from B<SUP>+</SUP> trees," Proceedings of the International Conference on Very Large Data Bases, Amsterdam, 1989, 9 pages.
  • Frank Olken et al., "Random Sampling from Databases-A Survey," Mar. 22, 1994, pp. 1-54.
  • Frank Olken, "Random Sampling from Databases," 1993, 172 pages.