Validating database table partitioning schemes using stratified random sampling
Abstract
A method, system, and computer program product for validating database table partitioning from partition advisors. The method commences by receiving a workload comprising a plurality of queries, then analyzes the queries to determine stratification buckets based on the usage of tables in the queries. Further analysis of the queries results in assigning the queries into one or more of the stratification buckets from which buckets a number n of queries (n being smaller than the total number of queries in the received workload) are drawn from the stratification buckets to form a representative workload having a confidence interval C and a margin of error M. Now, having a representative workload that is smaller, yet statistically representative of the received workload, a computer evaluates each of a plurality of partition schemes using the representative workload to determine an optimal partitioning scheme. The confidence interval C can be increased or decreased.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for validating database table partitioning schemes using stratified random sampling, the method comprising: receiving, by a computer, an original workload comprising a plurality of queries; enumerating stratification buckets based at least in part upon the plurality of queries of the original workload; assigning the plurality of queries into one or more of the stratification buckets; forming a representative workload for evaluating a plurality of partition schemes, wherein forming the representative workload comprises: calculating a standard deviation of an optimi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2007174335 A1 | Database configuration analysis | — | 37 |
Non-Patent Literature (5)
- Berg et al., Finding Perfect Auto-Partitions is NP-hard Mar 31, 2009, http://www.win.tue.n1/~Akhosrav/papers/auto-part-EWCG.pdf.
- Berg et al., Finding Perfect Auto-Partitions is NP-hard Mar 31, 2009, http://www.win.tue.n1/˜Akhosrav/papers/auto-part-EWCG.pdf.
- Brase, et al., "Understandable Statistics-Concepts and Methods, Introduction to Sampling Distributions," 9th Edition, Chapter 7, pp. 292-327, Jan. 2011.
- Brase, et al., “Understandable Statistics—Concepts and Methods, Introduction to Sampling Distributions,” 9th Edition, Chapter 7, pp. 292-327, Jan. 2011.
- Chaudhiri et al., Compressing SQL Workloads Jun 4-6, 2002, ACM, SIGMOD 2002, pp. 488-499.