Efficient Enumeration of Recursive Plans in Transformation-based Query Optimizers

被引:0
|
作者
Fejza, Amela [1 ]
Geneves, Pierre [1 ]
Layaida, Nabil [1 ]
机构
[1] Univ Grenoble Alpes, CNRS, INRIA, Grenoble INP,LIG,Tyrex Team, Grenoble, France
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2024年 / 17卷 / 11期
关键词
JOIN ENUMERATION; OPTIMIZATION; DATALOG; TIME;
D O I
10.14778/3681954.3681986
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Query optimizers built on the transformation-based Volcano/Cascades framework are used in many database systems. Transformations proposed earlier on the logical query dag (LQDAG) data structure, which is key in such a framework, are restricted to recursion-free queries. We propose the recursive logical query dag (RLQDAG) which extends the LQDAG with the ability to capture and transform recursive queries, leveraging recent developments in recursive relational algebra. Specifically, this extension includes: (i) the ability of capturing and transforming sets of recursive relational terms thanks to (ii) annotated equivalence nodes used for guiding transformations that are more complex in the presence of recursion; and (iii) RLQDAG rewrite rules that transform sets of subterms in a grouped manner, instead of transforming individual terms in a sequential manner; and that (iv) incrementally update the necessary annotations. Core concepts of the RLQDAG are formalized using a syntax and formal semantics with a particular focus on subterm sharing and recursion. The result is a clean generalization of the LQDAG, enabling efficient explorations of plan spaces for recursive queries. An implementation of the proposed approach shows significant performance gains compared to the state-of-the-art.
引用
收藏
页码:3095 / 3108
页数:14
相关论文
共 27 条
  • [1] A new architecture for transformation-based generators
    Biggerstaff, TJ
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (12) : 1036 - 1054
  • [2] Automating the transformation-based analysis of visual languages
    de Lara, Juan
    Vangheluwe, Hans
    FORMAL ASPECTS OF COMPUTING, 2010, 22 (3-4) : 297 - 326
  • [3] A New Approach for Transformation-Based Fuzzy Rule Interpolation
    Chen, Tianhua
    Shang, Changjing
    Yang, Jing
    Li, Fangyi
    Shen, Qiang
    IEEE TRANSACTIONS ON FUZZY SYSTEMS, 2020, 28 (12) : 3330 - 3344
  • [4] Improving Netlist Transformation-Based Approximate Logic Synthesis Through Resynthesis
    Morales-Monge, Roger
    Castro-Godinez, Jorge
    Paim, Guilherme
    IEEE EMBEDDED SYSTEMS LETTERS, 2024, 16 (03) : 279 - 282
  • [5] Transformation-based model checking temporal trust in multi-agent systems
    Drawel, Nagat
    Laarej, Amine
    Bentahar, Jamal
    El Menshawy, Mohamed
    JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 192
  • [6] Evolutionary Bilevel Optimization via Multiobjective Transformation-Based Lower-Level Search
    Chen, Lei
    Liu, Hai-Lin
    Li, Ke
    Tan, Kay Chen
    IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2024, 28 (03) : 733 - 747
  • [7] MOTEA-II: A Collaborative Multiobjective Transformation-Based Evolutionary Algorithm for Bilevel Optimization
    Chen, Lei
    Cheung, Yiu-Ming
    Liu, Hai-Lin
    Lai, Yutao
    IEEE TRANSACTIONS ON EVOLUTIONARY COMPUTATION, 2025, 29 (02) : 474 - 489
  • [8] Spatiotemporal Transformation-Based Neural Network With Interpretable Structure for Modeling Distributed Parameter Systems
    Wei, Peng
    Li, Han-Xiong
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2025, 36 (01) : 729 - 737
  • [9] SociaLite: An Efficient Graph Query Language Based on Datalog
    Seo, Jiwon
    Guo, Stephen
    Lam, Monica S.
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2015, 27 (07) : 1824 - 1837
  • [10] A Space Transformation-Based Multiform Approach for Multiobjective Feature Selection in High-Dimensional Classification
    Yu, Kunjie
    Sun, Shaoru
    Liang, Jing
    Chen, Ke
    Qu, Boyang
    Yue, Caitong
    Suganthan, Ponnuthurai Nagaratnam
    IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2024, 54 (12): : 7305 - 7317