Reaching back to move forward: using old ideas to achieve a new level of query optimizationShow others and affiliations
2023 (English)In: Proceedings of the 15th Alberto Mendelzon International Workshop on Foundations of Data Management (AMW 2023), CEUR-WS , 2023, article id 6Conference paper, Published paper (Refereed)
Abstract [en]
Join queries involving many relations pose a severe challenge to today's query optimisation techniques. To some extent, this is due to the fact that these techniques do not pay sufficient attention to structural properties of the query. In stark contrast, the Database Theory community has intensively studied structural properties of queries (such as acyclicity and various notions of width) and proposed efficient query evaluation techniques through variants of Yannakakis' algorithm for many years. However, although most queries in practice actually are acyclic or have low width, structure-guided query evaluation techniques based on Yannakakis' algorithm have not found their way into mainstream database technology yet.
The goal of this work is to address this gap between theory and practice. We want to analyse the potential of considering the query structure for speeding up modern DBMSs in cases that have been traditionally challenging. To this end, we propose a rewriting of SQL queries into a sequence of SQL statements that force the DBMS to follow a Yannakakis-style query execution. Through first empirical results we show that structure-guided query evaluation can indeed make the evaluation of many difficult join queries significantly faster.
Place, publisher, year, edition, pages
CEUR-WS , 2023. article id 6
Series
CEUR Workshop proceedings, ISSN 1613-0073 ; 3409
Keywords [en]
large join queries, query optimization, Yannakakis' algorithm
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:umu:diva-211822Scopus ID: 2-s2.0-85162848779OAI: oai:DiVA.org:umu-211822DiVA, id: diva2:1781848
Conference
15th Alberto Mendelzon International Workshop on Foundations of Data Management, AMW 2023, Santiago de Chile, Chile, May 22-26, 2023
Funder
Wallenberg AI, Autonomous Systems and Software Program (WASP)2023-07-112023-07-112024-07-02Bibliographically approved