ACM Home Page
Please provide us with feedback. Feedback
Global optimization of histograms
Full text PdfPdf (310 KB)
Source International Conference on Management of Data archive
Proceedings of the 2001 ACM SIGMOD international conference on Management of data table of contents
Santa Barbara, California, United States
Pages: 223 - 234  
Year of Publication: 2001
ISBN:1-58113-332-4
Also published in ...
Authors
H. V. Jagadish  Department of Electrical Engineering and Computer Science, University of Michigan
Hui Jin  Department of Computer Science, National University of Singapore
Beng Chin Ooi  Department of Computer Science, National University of Singapore
Kian-Lee Tan  Department of Computer Science, National University of Singapore
Sponsor
SIGMOD: ACM Special Interest Group on Management of Data
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 3,   Downloads (12 Months): 40,   Citation Count: 14
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/375663.375687
What is a DOI?

ABSTRACT

Histograms are frequently used to represent the distribution of data values in an attribute of a relation. Most previous work has focused on identifying the optimal histogram (given a limited number of buckets) for a single attribute independent of other attributes/histograms. In this paper, we propose the idea of global optimization of histograms, i.e., single-attribute histograms for a set of attributes are optimized collectively so as to minimize the overall error in using the histograms. The idea is to allocate more buckets to histograms whose attributes are more frequently used and/or distributions are highly skewed. While the accuracy of some histograms is penalized (being assigned fewer buckets), we expect the global error to be low compared to the traditional method (of allocating equal number of buckets to each histogram).

We propose two algorithms to determine the histograms to construct for a collection of attributes. The first is based on dynamic programming, and the second is a greedy algorithm. We compare the overall error of these algorithms against the traditional method. Extensive experiments are conducted and the results confirm the benefits of global optimal histograms in reducing the overall error. The extent of improvement depends on the data and query distributions, ranging from no benefit when there is no significant differences in the data distributions to over a factor of 100 reduction in error in some cases we tried.

The time to compute global optimal histogram using dynamic programming is much longer than the time to compute optimal histograms separately for each attribute, and the difference widens at a faster rate as the number of histograms increases. With the greedy algorithm, the time penalty is small, but the error reduction is somewhat less as well. We propose a third algorithm, called greedy algorithm with remedy, that has running time similar to the greedy algorithm, but produces results close to global optimum. In fact, in every experiment that we tried, this algorithm found the exact global optimum.


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.

 
1
TPC BENCHMARK D(Decision Support). Transaction Processing Performance Council http://www.tpc.org.
 
2
UCI KDD Database Repository - the most popular datasets used for research in machine learning and knowledge discovery . http://kdd.ics.uci.edu.
3
 
4
D. Barbara, W. DuMouchel, C. Faloutsos, P. J. Hass, J. M. Hellerstein, Y. E. Ioannidis, H. V. Jagadish, T. Johnson, R. Ng, V. Poosala, K. A. Ross, and K. C. Sevcik. The New Jersey Data Reduction Report. IEEE Data Engineering Bulletin, 20(4), 1997.
 
5
S. Chaudhuri and V. R. Narasayya. TPC-D Data Generation with Skew. Available via anonymous ftp from ftp.research.microsoft.com/users/viveknar/tpcdskew.
 
6
7
8
 
9
10
11
 
12
13
14
15
16
 
17
18
19
 
20
G. Zipf. Human Behavior and the Principle of Least Effort. Addison Wesley, 1949.

CITED BY  14

Collaborative Colleagues:
H. V. Jagadish: colleagues
Hui Jin: colleagues
Beng Chin Ooi: colleagues
Kian-Lee Tan: colleagues