A scalable hash ripple join algorithm
A scalable hash ripple join algorithm
复制标题
DOI:
10.1145/564691.564721
复制
发表时间:
2002-06
期刊:
影响因子:
--
通讯作者:
Gang Luo;Curt J. Ellmann;P. Haas;J. Naughton
中科院分区:
文献类型:
--
作者:
Gang Luo;Curt J. Ellmann;P. Haas;J. Naughton
Recently, Haas and Hellerstein proposed the hash ripple join algorithm in the context of online aggregation. Although the algorithm rapidly gives a good estimate for many join-aggregate problem instances, the convergence can be slow if the number of tuples that satisfy the join predicate is small or if there are many groups in the output. Furthermore, if memory overflows (for example, because the user allows the algorithm to run to completion for an exact answer), the algorithm degenerates to block ripple join and performance suffers. In this paper, we build on the work of Haas and Hellerstein and propose a new algorithm that (a) combines parallelism with sampling to speed convergence, and (b) maintains good performance in the presence of memory overflow. Results from a prototype implementation in a parallel DBMS show that its rate of convergence scales with the number of processors, and that when allowed to run to completion, even in the presence of memory overflow, it is competitive with the traditional parallel hybrid hash join algorithm.