Database Workload Characterization with Query Plan Encoders
Not on the map. Why?
Abstract (arXiv)
Smart databases are adopting artificial intelligence (AI) technologies to achieve em instance optimality, and in the future, databases will come with prepackaged AI models within their core components. The reason is that every database runs on different workloads, demands specific resources, and settings to achieve optimal performance. It prompts the necessity to understand workloads running in the system along with their features comprehensively, which we dub as workload characterization. To address this workload characterization problem, we propose our query plan encoders that learn essential features and their correlations from query plans. Our pretrained encoders capture the em structural and the em computational performance of queries independently. We show that our pretrained encoders are adaptable to workloads that expedite the transfer learning process. We performed independent assessments of structural encoder and performance encoders with multiple downstream tasks. For the overall evaluation of our query plan encoders, we architect two downstream tasks (i) query latency prediction and (ii) query classification. These tasks show the importance of feature-based workload characterization. We also performed extensive experiments on individual encoders to verify the effectiveness of representation learning and domain adaptability.
Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). Builds on 10 of its 44 references that are in the map. First posted on arXiv 26 May 2021.
Builds on
10 of 44 references.
References · 10
- 2017Attention Is All You Needcited by 60,106
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,467
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,810
- 2015Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networkscited by 305
- 2019An End-to-End Learning-based Cost Estimatorcited by 43
- 2019Automatic Source Code Summarization with Extended Tree-LSTMcited by 28
- 2017BestConfig: Tapping the Performance Potential of Systems via Automatic Configuration Tuningcited by 25
- 2019Plan-Structured Deep Neural Network Models for Query Performance Predictioncited by 24
- 2019Improving Tree-LSTM with Tree Attentioncited by 6
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 0; 2026: 1.
4 papers.
- 2023Real-time Workload Pattern Analysis for Large-scale Cloud Databasescited by 4
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challengescited by 2
- 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templatescited by 0
- 2026DOT: Dynamic Knob Selection and Online Sampling for Automated Database Tuningcited by 0
- 2026DOT: Dynamic Knob Selection and Online Sampling for Automated Database Tuning16 Mar 2026
- 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templates22 Jan 2024
- 2023ML-Powered Index Tuning: An Overview of Recent Progress and Open Challenges25 Aug 2023
- 2023Real-time Workload Pattern Analysis for Large-scale Cloud Databases5 Jul 2023