To Partition, or Not to Partition, That is the Join Question in a Real System

被引:17
|
作者
Bandle, Maximilian [1 ]
Giceva, Jana [1 ]
Neumann, Thomas [1 ]
机构
[1] Tech Univ Munich, Munich, Germany
基金
欧洲研究理事会;
关键词
Performance Evaluation; Partitioning; Join Processing; Modern Hardware; In-Memory Databases; MULTI-CORE; MATERIALIZATION STRATEGIES; PERFORMANCE;
D O I
10.1145/3448016.3452831
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
An efficient implementation of a hash join has been a highly researched problem for decades. Recently, the radix join has been shown to have superior performance over the alternatives (e.g., the non-partitioned hash join), albeit on synthetic microbenchmarks. Therefore, it is unclear whether one can simply replace the hash join in an RDBMS or use the radix join as a performance booster for selected queries. If the latter, it is still unknown when one should rely on the radix join to improve performance. In this paper, we address these questions, show how to integrate the radix join in Umbra, a code-generating DBMS, and make it competitive for selective queries by introducing a Bloom-filter based semi-join reducer. We have evaluated how well it runs when used in queries from more representative workloads like TPC-H. Surprisingly, the radix join brings a noticeable improvement in only one out of all 59 joins in TPC-H. Thus, with an extensive range of microbenchmarks, we have isolated the effects of the most important workload factors and synthesized the range of values where partitioning the data for the radix join pays off. Our analysis shows that the benefit of data partitioning quickly diminishes as soon as we deviate from the optimal parameters, and even late materialization rarely helps in real workloads. We thus, conclude that integrating the radix join within a code-generating database rarely justifies the increase in code and optimizer complexity and advise against it for processing real-world workloads.
引用
收藏
页码:168 / 180
页数:13
相关论文
共 50 条
  • [41] Partition
    Ahmed, Ishtiaq
    [J]. TLS-THE TIMES LITERARY SUPPLEMENT, 2012, (5724): : 6 - 6
  • [42] THE PARTITION
    Soldini, Elisabetta
    [J]. AVANT SCENE OPERA, 2011, (260): : 101 - 101
  • [43] THE PARTITION
    Pacheco Silva, Cesar
    [J]. REVISTA ESTUDIOS COTIDIANOS, 2015, 3 (02): : I - II
  • [44] Partition
    Masani, Zareer
    [J]. HISTORY TODAY, 2018, 68 (04) : 102 - 103
  • [45] THE PARTITION
    Basualdo Gomez, Carlos
    [J]. REVISTA ESTUDIOS COTIDIANOS, 2015, 3 (01):
  • [46] Partition
    Singh, Gurharpal
    [J]. TLS-THE TIMES LITERARY SUPPLEMENT, 2012, (5723): : 6 - 6
  • [47] 'Partition'
    Ramachandran, Naman
    [J]. SIGHT AND SOUND, 2008, 18 (10): : 78 - 79
  • [48] Partition
    Pradelle, Hugo
    [J]. QUINZAINE LITTERAIRE, 2008, (975): : 12 - 12
  • [49] PARTITION
    Luo, Shao-Pin
    [J]. DALHOUSIE REVIEW, 2017, 97 (01) : 42 - 53
  • [50] PARTITION
    Loyd, William H.
    [J]. UNIVERSITY OF PENNSYLVANIA LAW REVIEW AND AMERICAN LAW REGISTER, 1919, 67 (02): : 162 - 190