On the Estimation of Join Result Sizes
On the Estimation of Join Result Sizes
复制标题
关于连接结果大小的估计
DOI:
10.1007/3-540-57818-8_58
复制
发表时间:
1994
影响因子:
--
通讯作者:
K. Schiefer
中科院分区:
文献类型:
--
作者:
A. Swami;K. Schiefer
Good estimates of join result sizes are critical for query optimization in relational database management systems. We address the problem of incrementally obtaining accurate and consistent estimates of join result sizes. We have invented a new rule for choosing join selectivities for estimating join result sizes. The rule is part of a new unified algorithm called Algorithm ELS (Equivalence and Largest Selectivity). Prior to computing any result sizes, equivalence classes are determined for the join columns. The algorithm also takes into account the effect of local predicates on table and column cardinalities. These computations allow the correct selectivity values for each eligible join predicate to be computed. We show that the algorithm is correct and gives better estimates than current estimation algorithms.