Loading [MathJax]/extensions/MathMenu.js
Domains and active domains: what this distinction implies for the estimation of projection sizes in relational databases | IEEE Journals & Magazine | IEEE Xplore

Domains and active domains: what this distinction implies for the estimation of projection sizes in relational databases


Abstract:

Database optimizers require statistical information about data distributions in order to evaluate result sizes and access plan costs for processing user queries. In this ...Show More

Abstract:

Database optimizers require statistical information about data distributions in order to evaluate result sizes and access plan costs for processing user queries. In this context, we consider the problem of estimating the size of the projections of a database relation, when measures on attribute domain cardinalities are maintained in the system. Our main theoretical contribution is a new formal model, the AD (active domain) model, which is valid under the hypotheses of attribute independence and uniform distribution of attribute values, derived considering the difference between the time-invariant domain (the set of values that an attribute can assume) and the time-dependent ("active") domain (the set of values that are actually assumed, at a certain time). Early models developed under the same assumptions are shown to be formally incorrect. Since the AD model is computationally highly demanding, we also introduce an approximate, easy-to-compute model, the A/sup 2/D (approximate active domain) model that, unlike previous approximations, yields low errors on all the parameter space of the active domain cardinalities. Finally, we extend the A/sup 2/D model to the case of nonuniform distributions and present experimental results confirming the good behavior of the model.<>
Published in: IEEE Transactions on Knowledge and Data Engineering ( Volume: 7, Issue: 4, August 1995)
Page(s): 641 - 655
Date of Publication: 06 August 2002

ISSN Information:


Contact IEEE to Subscribe

References

References is not available for this document.