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.
机构:
Guangdong Univ Technol, Sch Math & Stat, Guangzhou 510510, Peoples R ChinaGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510510, Peoples R China
Chen, Lei
Liu, Hai-Lin
论文数: 0引用数: 0
h-index: 0
机构:
Guangdong Univ Technol, Sch Math & Stat, Guangzhou 510510, Peoples R ChinaGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510510, Peoples R China
Liu, Hai-Lin
Li, Ke
论文数: 0引用数: 0
h-index: 0
机构:
Univ Exeter, Dept Comp Sci, Exeter EX4 4QF, EnglandGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510510, Peoples R China
Li, Ke
Tan, Kay Chen
论文数: 0引用数: 0
h-index: 0
机构:
Hong Kong Polytech Univ, Dept Comp, Hong Kong, Peoples R ChinaGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510510, Peoples R China
机构:
Guangdong Univ Technol, Sch Math & Stat, Guangzhou 510006, Peoples R China
Hong Kong Baptist Univ, Dept Comp Sci, Hong Kong, Peoples R ChinaGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510006, Peoples R China
Chen, Lei
Cheung, Yiu-Ming
论文数: 0引用数: 0
h-index: 0
机构:
Hong Kong Baptist Univ, Dept Comp Sci, Hong Kong, Peoples R ChinaGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510006, Peoples R China
Cheung, Yiu-Ming
Liu, Hai-Lin
论文数: 0引用数: 0
h-index: 0
机构:
Guangdong Univ Technol, Sch Math & Stat, Guangzhou 510006, Peoples R ChinaGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510006, Peoples R China
Liu, Hai-Lin
Lai, Yutao
论文数: 0引用数: 0
h-index: 0
机构:
Guangdong Univ Technol, Sch Math & Stat, Guangzhou 510006, Peoples R ChinaGuangdong Univ Technol, Sch Math & Stat, Guangzhou 510006, Peoples R China