A Novel Technique for Query Plan Representation Based on Graph Neural Nets
Baoming Chang, Amin Kamali, Verena Kantere

TL;DR
This paper introduces a new graph neural network-based model, BiGG, for representing query plans, which improves cost estimation and plan selection in database query optimization.
Contribution
The paper proposes BiGG, a novel GNN-based model for query plan representation, and demonstrates its superior performance over existing tree models.
Findings
BiGG significantly improves cost estimation accuracy.
BiGG enhances plan selection performance.
GNN-based representations outperform traditional tree models.
Abstract
Learning representations for query plans play a pivotal role in machine learning-based query optimizers of database management systems. To this end, particular model architectures are proposed in the literature to transform the tree-structured query plans into representations with formats learnable by downstream machine learning models. However, existing research rarely compares and analyzes the query plan representation capabilities of these tree models and their direct impact on the performance of the overall optimizer. To address this problem, we perform a comparative study to explore the effect of using different state-of-the-art tree models on the optimizer's cost estimation and plan selection performance in relatively complex workloads. Additionally, we explore the possibility of using graph neural networks (GNNs) in the query plan representation task. We propose a novel tree…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Web Data Mining and Analysis · Advanced Computational Techniques and Applications
MethodsBiGG
