2002 · 88 citations · 15 references
ComputingComputer ScienceAlgorithmsDatabasesParallel ComputingData ParallelismHash TablesParallel DatabasesQuery ProcessingAggregationBuffer OverflowsConvergenceHashingJoin AlgorithmsOnline AggregationParallel Join AlgorithmsPerformance Degradation
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.
15
Joseph M. Hellerstein, Peter J. Haas, Helen J. Wang · 1997 · 928 citations · Full text
The Art of Computer Programming, Vol. 2
Donald E. Knuth · Medical Entomology and Zoology · 1981 · 863 citations
An adaptive query execution system for data integration
Zachary G. Ives, Daniela Florescu, Marc Friedman et al. · ACM SIGMOD Record · 1999 · 394 citations
Ripple joins for online aggregation
Peter J. Haas, Joseph M. Hellerstein · ACM SIGMOD Record · 1999 · 367 citations