2002 · 18 citations · 16 references
ComputingComputer ScienceData ManagementData StructuresDatabasesData Structure AlgorithmsDatabase ManagementHash TablesQuery OptimizationQuery ProcessingSorting AlgorithmsData Skew HandlingData Skew MitigationJoin AlgorithmsJoin ProcessingPerformance DegradationSkew CompensationSkew DistributionSorting
Joins are among the most frequently executed operations. Several fast join algorithms have been developed and extensively studied; these can be categorized as sort-merge, hash-based, and index-based algorithms. While all three types of algorithms exhibit excellent performance over most data, ameliorating the performance degradation in the presence of skew has been investigated only for hash-based algorithms. However, for sort-merge join, even a small amount of skew present in realistic data can result in a significant performance hit on a commercial DBMS. This paper examines the negative ramifications of skew in sort-merge join and proposes several refinements that deal effectively with data skew. Experiments show that some of these algorithms also impose virtually no penalty in the absence of data skew and are thus suitable for replacing existing sort-merge implementations. We also show how sort-merge band join performance is significantly enhanced with these refinements.
16
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 2.2K citations
On supporting containment queries in relational database management systems
Chun Zhang, Jeffrey F. Naughton, David J. DeWitt et al. · 2001 · 785 citations
Structural joins: a primitive for efficient XML query pattern matching
Shurug Al-Khalifa, H. V. Jagadish, Nick Koudas et al. · 2003 · 780 citations
Indexing and Querying XML Data for Regular Path Expressions
Quanzhong Li, Bongki Moon · 2001 · 761 citations
Practical Skew Handling in Parallel Joins
David J. DeWitt, Jeffrey F. Naughton, Donovan A. Schneider et al. · Minds at UW (University of Wisconsin) · 1992 · 263 citations · Full text