Robust Join Processing with Diamond Hardened Joins

被引:0
|
作者
Birler, Altan [1 ]
Kemper, Alfons [1 ]
Neumann, Thomas [1 ]
机构
[1] Tech Univ Munich, Munich, Germany
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2024年 / 17卷 / 11期
关键词
QUERY PLANS; LOOKING;
D O I
10.14778/3681954.3681995
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Join ordering and join processing has a huge impact on query execution and can easily affect the query response time by orders of magnitude. In particular, when joins are potentially growing n:m joins, execution can be very expensive. This can be seen by examining the sizes of intermediate results: If a join query produces many redundant tuples that are later eliminated, the query is likely expensive, which is not justified by the query result. This gives the query a diamond shape, with intermediate results larger than the inputs and the output. This occurs frequently in various workloads, particularly, in graph workloads, and also in benchmarks like JOB. We call this issue the diamond problem, and to address it, we propose the diamond hardened join framework, which splits join operators into two suboperators: Lookup & Expand. By allowing these suboperators to be freely reordered by the query optimizer, we improve the runtime of queries that exhibit the diamond problem without sacrificing performance for the rest of the queries. Past theoretical work such as worst-case optimal joins similarly try to avoid huge intermediate results. However, these approaches have significant overheads that impact all queries. We demonstrate that our approach leads to excellent performance both in queries that exhibit the diamond problem and in regular queries that can be handled by traditional binary joins. This allows for a unified approach, offering excellent performance across the board. Compared to traditional joins, queries' performance is improved by up to 500x in the CE benchmark and remains excellent in TPC-H and JOB.
引用
收藏
页码:3215 / 3228
页数:14
相关论文
共 50 条
  • [21] Storing Join Relationships for Fast Join Query Processing
    Hamdi, Mohammed
    Yu, Feng
    Alswedani, Sarah
    Hou, Wen-Chi
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2017, PT I, 2017, 10438 : 167 - 177
  • [23] Using slice join for efficient evaluation of multi-way joins
    Lawrence, Ramon
    DATA & KNOWLEDGE ENGINEERING, 2008, 67 (01) : 118 - 139
  • [24] Pass-Join: A Partition-based Method for Similarity Joins
    Li, Guoliang
    Deng, Dong
    Wang, Jiannan
    Feng, Jianhua
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2011, 5 (03): : 253 - 264
  • [25] Efficient vague joins processing in the VQS
    Dang, TK
    Küng, J
    Wagner, R
    7TH WORLD MULTICONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL I, PROCEEDINGS: INFORMATION SYSTEMS, TECHNOLOGIES AND APPLICATIONS, 2003, : 278 - 283
  • [26] FAST PARALLEL ALGORITHMS FOR PROCESSING OF JOINS
    SHASHA, D
    SPIRAKIS, P
    LECTURE NOTES IN COMPUTER SCIENCE, 1988, 297 : 939 - 953
  • [27] A New Primitive for Processing Temporal Joins
    Mirabi, Meghdad
    Fathi, Leila
    Dignos, Anton
    Gamper, Johann
    Binnig, Carsten
    PROCEEDINGS OF 2023 18TH INTERNATIONAL SYMPOSIUM ON SPATIAL AND TEMPORAL DATA, SSTD 2023, 2023, : 106 - 109
  • [28] GPU processing of theta-joins
    Bellas, Christos
    Gounaris, Anastasios
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2017, 29 (18):
  • [29] Functional-join processing
    R. Braumandl
    J. Claussen
    A. Kemper
    D. Kossmann
    The VLDB Journal, 2000, 8 : 156 - 177
  • [30] JOIN PROCESSING IN RELATIONAL DATABASES
    MISHRA, P
    EICH, MH
    COMPUTING SURVEYS, 1992, 24 (01) : 63 - 113