摘要
In database systems, a query plan is a series of concrete internal steps to execute a query. Multiple testing approaches utilize query plans for finding bugs. However, query plans are represented in a database-specific manner, so implementing these testing approaches requires a non-trivial effort, hindering their adoption. We envision that a unified query plan representation can facilitate the implementation of these approaches. In this paper, we present an exploratory case study to investigate query plan representations in nine widely-used database systems. Our study shows that query plan representations consist of three conceptual components: operations, properties, and formats, which enable us to design a unified query plan representation. Based on it, existing testing methods can be efficiently adopted, finding 17 previously unknown and unique bugs. Additionally, the unified query plan representation can facilitate other applications. Existing visualization tools can support multiple database systems based on the unified query plan representation with moderate implementation effort, and comparing unified query plans across database systems provides actionable insights to improve their performance. We expect that the unified query plan representation will enable the exploration of additional application scenarios.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Automatic View Generation with Deep Learning and Reinforcement Learning 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
- Understanding and Reusing Test Suites Across Database Systems 引用了 Finding bugs in database systems via query partitioning
- QueryFormer: A Tree Transformer Model for Query Plan Representation 引用了 Automatic View Generation with Deep Learning and Reinforcement Learning
- QueryFormer: A Tree Transformer Model for Query Plan Representation 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
- QueryFormer: A Tree Transformer Model for Query Plan Representation 引用了 Bao: Making Learned Query Optimization Practical
- TATA: An Efficient Framework for Task Transfer in Query Plan Representation 引用了 Automatic View Generation with Deep Learning and Reinforcement Learning
- TATA: An Efficient Framework for Task Transfer in Query Plan Representation 引用了 QueryFormer: A Tree Transformer Model for Query Plan Representation
- TATA: An Efficient Framework for Task Transfer in Query Plan Representation 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
- TATA: An Efficient Framework for Task Transfer in Query Plan Representation 引用了 Bao: Making Learned Query Optimization Practical
引用它的顶会 Paper2
它引用的 Paper7
- Bao: Making Learned Query Optimization PracticalRyan Marcus, Parimarjan Negi, Hongzi Mao, Nesime Tatbul 等SIGMOD 2021 · 242 次引用
- Reinforcement Learning with Tree-LSTM for Join Order SelectionXiang Yu, Guoliang Li, Chengliang Chai, Nan TangICDE 2020 · 168 次引用
- QueryFormer: A Tree Transformer Model for Query Plan RepresentationYue Zhao, Gao Cong, Jiachen Shi, Chunyan MiaoVLDB 2022 · 117 次引用
- Finding bugs in database systems via query partitioningManuel Rigger, Zhendong SuOOPSLA 2020 · 116 次引用
- Automatic View Generation with Deep Learning and Reinforcement LearningHaitao Yuan, Guoliang Li, Ling Feng, Ji Sun 等ICDE 2020 · 66 次引用
相关 Paper
- Testing Database Engines via Query Plan GuidanceJinsheng Ba, Manuel RiggerICSE 2023 · 39 次引用
- QOVIS: Understanding and Diagnosing Query Optimizer via a Visualization-assisted Approach (Revision)Zhengxin You, Qiaomu Shen, Man Lung Yiu, Bo TangVLDB 2025 · 1 次引用
- Mozi: Discovering DBMS Bugs via Configuration-Based Equivalent TransformationJie Liang, Zhiyong Wu, Jingzhou Fu, Mingzhe Wang 等ICSE 2024 · 18 次引用
- Understanding Query Optimization Bugs in Graph Database SystemsYuyu Chen, Zhongxing YuASPLOS 2026 · 1 次引用
- A Comparative Study and Component Analysis of Query Plan Representation Techniques in ML4DB StudiesYue Zhao, Zhaodonghui Li, Gao CongVLDB 2024 · 19 次引用
