Concepedia

Publication | Closed Access

Balancing histogram optimality and practicality for query result size estimation

270

Citations

17

References

1995

Year

Abstract

Many current database systems use histograms to approximate the frequency distribution of values in the attributes of relations and based on them estimate query result sizes and access plan costs. In choosing among the various histograms, one has to balance between two conflicting goals: optimality, so that generated estimates have the least error, and practicality, so that histograms can be constructed and maintained efficiently. In this paper, we present both theoretical and experimental results on several issues related to this trade-off. Our overall conclusion is that the most effective approach is to focus on the class of histograms that accurately maintain the frequencies of a few attribute values and assume the uniform distribution for the rest, and choose for each relation the histogram in that class that is optimal for a self-join query.

References

YearCitations

1979

2.1K

1984

342

1990

276

1991

266

1984

241

1988

214

1994

180

1992

174

1980

173

1993

125

Page 1