ACM Home Page
Please provide us with feedback. Feedback
Congressional samples for approximate answering of group-by queries
Full text PdfPdf (1.26 MB)
Source International Conference on Management of Data archive
Proceedings of the 2000 ACM SIGMOD international conference on Management of data table of contents
Dallas, Texas, United States
Pages: 487 - 498  
Year of Publication: 2000
ISBN:1-58113-217-4
Also published in ...
Authors
Swarup Acharya  Information Sciences Research Center, Bell Laboratories, 600 Mountain Avenue, Murray Hill NJ
Phillip B. Gibbons  Information Sciences Research Center, Bell Laboratories, 600 Mountain Avenue, Murray Hill NJ
Viswanath Poosala  Information Sciences Research Center, Bell Laboratories, 600 Mountain Avenue, Murray Hill NJ
Sponsor
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 19,   Downloads (12 Months): 90,   Citation Count: 28
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/342009.335450
What is a DOI?

ABSTRACT

In large data warehousing environments, it is often advantageous to provide fast, approximate answers to complex decision support queries using precomputed summary statistics, such as samples. Decision support queries routinely segment the data into groups and then aggregate the information in each group (group-by queries). Depending on the data, there can be a wide disparity between the number of data items in each group. As a result, approximate answers based on uniform random samples of the data can result in poor accuracy for groups with very few data items, since such groups will be represented in the sample by very few (often zero) tuples.

In this paper, we propose a general class of techniques for obtaining fast, highly-accurate answers for group-by queries. These techniques rely on precomputed non-uniform (biased) samples of the data. In particular, we propose congressional samples, a hybrid union of uniform and biased samples. Given a fixed amount of space, congressional samples seek to maximize the accuracy for all possible group-by queries on a set of columns. We present a one pass algorithm for constructing a congressional sample and use this technique to also incrementally maintain the sample up-to-date without accessing the base relation. We also evaluate query rewriting strategies for providing approximate answers from congressional samples. Finally, we conduct an extensive set of experiments on the TPC-D database, which demonstrates the efficacy of the techniques proposed.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
AGP99a
 
AGP99b
S. Acharya, P. B. Gibbons, and V. Poosala. Congressional samples for approximate answering of group-by queries. Technical report, Bell Laboratories, Murray Hill, New Jersey, November 1999.
AGPR99
CD97
CMN99
 
Coc77
W. G. Cochran. Sampling Techniques. John Wiley & Sons, New York, third edition, 1977.
 
CS94
 
CS95
S. Chaudhuri and K. Shim. An overview of cost-based optimization of queries with aggregates. IEEE Data Englneerlng Bulletin, 18(3):3-9, 1995.
GM98
HH99
HHW97
 
IP99
 
Kim96
R. Kimball. The Data Warehouse Tookit. John Wiley and Sons Inc., 1996.
 
Olk93
F. Olken. Random Sampling from Databases. PhD thesis, Computer Science, U.C. Berkeley, April 1993.
PIHS96
SAC+79
 
Sch97
D. Schneider. The ins & outs (and everything in between) of data warehousing. Tutorial in the 23rd International Conf. on Very Large Data Bases, August 1997.
 
TPC99
Transaction processing performance council (TPC). TPC-D Benchmark Version 2.0, February 1999. URL: www. tpc. org.
VW99

CITED BY  28
 
 
 
 
 
 
 
 
 
 
 

Collaborative Colleagues:
Swarup Acharya: colleagues
Phillip B. Gibbons: colleagues
Viswanath Poosala: colleagues

Peer to Peer - Readers of this Article have also read: