A scalable hash ripple join algorithm
Gang Luo, Curt J. Ellmann, Peter J. Haas et al. · Proceedings - ACM-SIGMOD International Conference on Management of Data · 2002
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.
Cited by 87 works. doi:10.1145/564691.564721
Authors
References
- The Art of Computer Programming
- The Art of Computer Programming, Vol. 2
- Query evaluation techniques for large databases
- Benchmarking Database Systems A Systematic Approach
- Online aggregation
- The art of computer programming, volume 3: (2nd ed.) sorting and searching
- A performance evaluation of four parallel join algorithms in a shared-nothing multiprocessor environment
- An adaptive query execution system for data integration
- Ripple joins for online aggregation
- Adaptive Query Processing: Technology in Evolution.