Optimization based method for estimating the results of aggregate queries
Abstract
A method for estimating the result of a query on a database having data records arranged in tables. The database has an expected workload that includes a set of queries that can be executed on the database. A sample is constructed by selecting data records for inclusion in the sample in a manner that minimizes an estimation error when the data records are acted upon by a query in the expected workload to provide an estimated result. The query accesses the sample and is executed on the sample, returning an estimated query result. The expected workload can be constructed by specifying a degree of overlap between records selected by queries in the given workload and records selected by queries in the expected workload.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method that estimates the result of an aggregation query on a database wherein the database has data records arranged in tables, and wherein the database has a given workload comprising a set of queries that has been executed on the database, the method comprising the steps of: a) deriving an expected workload based on the given workload; b) constructing a sample by selecting data records for inclusion in the sample such that an estimation error is minimized when the selected data records are acted upon by queries in the expected workload to return estimated results; c) directing the query t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- J.S. Marron, Smoothing Methods for Learning from Data Turorial 6, Outline of Oral Presentation, 4<SUP>th </SUP>International Conference on Knowledge Discovery and Data Mining, New York, NY, Aug. 27-31, 1998.
- Jeffrey Scott Vitter and Min Wang, "Approximate Computation of Multidimensional Aggregates of Sparse Data Using Wavelets", SIGMOD 1999, USA, pp. 193-204.
- Joseph M. Hellerstein, Peter J. Haas and Helen J. Wang, "Online Aggregation", Sigmod 1997, USA pp. 171-182.
- Kaushik Chakrabarti, Minos Garofalakis, Rajeev Rastogi, Kyuseok Shim, "Approximate Query Processing Using Wavelets", Proceedings of the 26th VLDB Conference, Cairo, Egypt 2000, pp. 111-122.
- Surajit Chaudhuri, Guatam Das, Mayur Datar, Rajeev Motwani and Vivek Narasayya, "Overcoming Limitations of Sampling for Aggregation Queries", 2001 IEEE, pp. 534-542.