An Evaluation of Multi-way Joins for Relational Database Systems

被引:0
|
作者
Henderson, Michael [1 ]
Lawrence, Ramon [1 ]
机构
[1] Univ British Columbia, Dept Comp Sci, Kelowna, BC, Canada
关键词
Multi-way join; Hybrid hash; Join ordering; Query optimization; PostgreSQL;
D O I
10.1007/978-3-319-09492-2_3
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In database systems most join algorithms operate on only two inputs at a time. Research into joins on more than two inputs, called multi-way joins, has shown that the intermediate partitioning steps of a traditional hash join based query plan can be avoided. This decreases the amount of disk based input and output (I/Os) that the query requires. This work studies the advantages and disadvantages of implementing and using different multi-way join algorithms and their relative performance compared to traditional hash joins. Specifically, this work compares hash join with three multi-way join algorithms: hash teams, generalized hash teams and SHARP. The results of the experiments show that in some cases multi-way hash joins can provide a significant advantage over hash join but not always. The cases where hash teams and generalized hash teams have better performance is limited, and it does not make sense to implement these algorithms in a production database management system. SHARP provides enough of a performance advantage that it makes sense to implement it in a database system used for data warehousing.
引用
收藏
页码:37 / 50
页数:14
相关论文
共 50 条
  • [1] Are Multi-way Joins Actually Useful?
    Henderson, Michael
    Lawrence, Ramon
    [J]. ICEIS: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL 1, 2013, : 13 - 22
  • [2] Accelerating multi-way joins on the GPU
    Zhuohang Lai
    Xibo Sun
    Qiong Luo
    Xiaolong Xie
    [J]. The VLDB Journal, 2022, 31 : 529 - 553
  • [3] Using slice join for efficient evaluation of multi-way joins
    Lawrence, Ramon
    [J]. DATA & KNOWLEDGE ENGINEERING, 2008, 67 (01) : 118 - 139
  • [4] Accelerating multi-way joins on the GPU
    Lai, Zhuohang
    Sun, Xibo
    Luo, Qiong
    Xie, Xiaolong
    [J]. VLDB JOURNAL, 2022, 31 (03): : 529 - 553
  • [5] Converting relational database into OWL ontology by multi-way semantics extraction
    Jang, Sohee
    Park, Insuk
    Cho, Hoyun
    Hyun, Soon Joo
    [J]. ICEIS 2007: PROCEEDINGS OF THE NINTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS: INFORMATION SYSTEMS ANALYSIS AND SPECIFICATION, 2007, : 563 - 568
  • [6] Optimizing Multiple Multi-Way Stream Joins
    Dossinger, Manuel
    Michel, Sebastian
    [J]. 2021 IEEE 37TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2021), 2021, : 1985 - 1990
  • [7] On multi-way spatial joins with direction predicates
    Zhu, HJ
    Su, JW
    Ibarra, OH
    [J]. ADVANCES IN SPATIAL AND TEMPORAL DATABASES, PROCEEDINGS, 2001, 2121 : 217 - 235
  • [8] Similarity Joins in Relational Database Systems
    Augsten, Nikolaus
    Böhlen, Michael H.
    [J]. Synthesis Lectures on Data Management, 2014, 5 (05): : 1 - 106
  • [9] Faster joins, self-joins and multi-way joins using join indices
    Lei, H
    Ross, KA
    [J]. DATA & KNOWLEDGE ENGINEERING, 1999, 29 (02) : 179 - 200
  • [10] Efficient Evaluation of Conjunctive Regular Path Queries Using Multi-way Joins
    Karalis, Nikolaos
    Bigerl, Alexander
    Heidrich, Liss
    Sherif, Mohamed Ahmed
    Ngomo, Axel-Cyrille Ngonga
    [J]. SEMANTIC WEB, PT I, ESWC 2024, 2024, 14664 : 218 - 235