Lecture Notes in Computer Science, 2000, Volume 1873/2000, 644-653, DOI: 10.1007/3-540-44469-6_60

A Skew-Insensitive Algorithm for Join and Multi-join Operations on Shared Nothing Machines

M. Bamha and G. Hains

View Related Documents

Abstract

Join is an expensive and frequently used operation whose parallelization is highly desirable. However effectiveness of parallel joins depends on the ability to evenly divide load among processors. Data skew can have a disastrous effect on performance. Although many skew-handling algorithms have been proposed they remain generally inefficient in the case of multi-joins due to join product skew, costly and unnecessary redistribution and communication costs. A parallel join algorithm called fa_join has been introduced in an earlier paper with deterministic and near-perfect balancing properties. Despite its advantages, fa_join is sensitive to the correlation of the attribute value distributions in both relations. We present here an improved version of the algorithm called Sfa_join with a symmetric treatment of both relations. Its predictably low join-product and attribute-value skew makes it suitable for repeated use in multi-join operations. Its performance is analyzed theoretically and experimentally, to confirm its linear speed-up and its superiority over fa_join.

Fulltext Preview

Image of the first page of the fulltext document