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 条
  • [31] Research of Optimizing the System Partition in Android System
    Zhu, Hong
    Zhang, Quanxin
    Liu, Lu
    Aourra, Khaled
    Tan, Yu'an
    [J]. RECENT DEVELOPMENTS IN INTELLIGENT SYSTEMS AND INTERACTIVE APPLICATIONS (IISA2016), 2017, 541 : 168 - 173
  • [32] MapReduce-Based Dynamic Partition Join with Shannon Entropy for Data Skewness
    Chen, Donghua
    Zhang, Runtong
    [J]. SCIENTIFIC PROGRAMMING, 2021, 2021
  • [33] Coarse-grained parallel algorithms for spatial data partition and join processing
    Xiao, JT
    [J]. KNOWLEDGE-BASED INTELLIGENT INFORMATION AND ENGINEERING SYSTEMS, PT 2, PROCEEDINGS, 2004, 3214 : 461 - 468
  • [34] Clustering spatial data for join operations using match-based partition
    Xiao, Jitian
    [J]. International Conference on Computational Intelligence for Modelling, Control & Automation Jointly with International Conference on Intelligent Agents, Web Technologies & Internet Commerce, Vol 2, Proceedings, 2006, : 471 - 476
  • [35] Partition of Waves in a System of Conservation Laws
    Setti Ayad
    Arnaud Heibig
    [J]. Acta Applicandae Mathematica, 2001, 66 : 191 - 207
  • [36] Partition of waves in a system of conservation laws
    Ayad, S
    Heibig, A
    [J]. ACTA APPLICANDAE MATHEMATICAE, 2001, 66 (02) : 191 - 207
  • [37] Minimum Partition of an r - Independence System
    Zill-e-Shams
    Salman, Muhammad
    Ullah, Zafar
    Ali, Usman
    [J]. JOURNAL OF MATHEMATICS, 2021, 2021
  • [38] Products: Irys Modular Partition System
    Ashaboglu, Selin
    [J]. ARCHITECT, 2017, 106 (07): : 46 - 48
  • [39] PurOptima 117 Plus Partition System
    Timpano, Andrea
    [J]. ARCHITECT, 2023, 112 (06): : 18 - 18
  • [40] Partition
    Ahmed, Ishtiaq
    [J]. TLS-THE TIMES LITERARY SUPPLEMENT, 2012, (5724): : 6 - 6