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 条
  • [21] Simplex Transformation-Based Deep Unsupervised Learning for Optimization: Power Control With QoS Constraints in Multi-User Interference Channel
    Subramanian, Kanimozhi
    Hanif, Muhammad
    IEEE WIRELESS COMMUNICATIONS LETTERS, 2024, 13 (09) : 2596 - 2600
  • [22] Decision-Based Query Efficient Adversarial Attack via Adaptive Boundary Learning
    Shen, Meng
    Li, Changyue
    Yu, Hao
    Li, Qi
    Zhu, Liehuang
    Xu, Ke
    IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2024, 21 (04) : 1740 - 1753
  • [23] An efficient model selection for linear discriminant function-based recursive feature elimination
    Ding, Xiaojian
    Yang, Fan
    Ma, Fuming
    JOURNAL OF BIOMEDICAL INFORMATICS, 2022, 129
  • [24] Broadcast and Reliable Coverage based Efficient Recursive Routing in Large-Scale WSNs
    Verma, Akshay
    Kumar, Sunil
    Gautam, Prateek Raj
    Rashid, Tarique
    Kumar, Arvind
    TELECOMMUNICATION SYSTEMS, 2020, 75 (01) : 63 - 78
  • [25] Query-Efficient Black-Box Adversarial Attacks Guided by a Transfer-Based Prior
    Dong, Yinpeng
    Cheng, Shuyu
    Pang, Tianyu
    Su, Hang
    Zhu, Jun
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2022, 44 (12) : 9536 - 9548
  • [26] A profile transformation based recursive multi-bead overlapping model for robotic wire and arc additive manufacturing (WAAM)
    Chen, Changrong
    He, Hua
    Zhou, Jingxin
    Lian, Guofu
    Huang, Xu
    Feng, Meiyan
    JOURNAL OF MANUFACTURING PROCESSES, 2022, 84 : 886 - 901
  • [27] An efficient data collection framework in the sky: An affine transformation approach based on Internet of unmanned aerial vehicles
    Sun, Bing
    Yu, Mingxing
    Wu, Yi
    Qi, Yuanhang
    Nie, Xin
    Xi, Shan
    IET COMMUNICATIONS, 2021, 15 (10) : 1315 - 1325