Database Workload Characterization with Query Plan Encoders
Debjyoti Paul, Jie Cao, Feifei Li, Vivek Srikumar

TL;DR
This paper introduces query plan encoders that learn structural and performance features from database query plans, enabling effective workload characterization and transfer learning for optimizing database performance.
Contribution
The paper presents novel pretrained query plan encoders that capture structural and computational features, facilitating workload understanding and transfer learning in database systems.
Findings
Encoders effectively learn query plan features
Transfer learning accelerates workload adaptation
Improved accuracy in query latency prediction
Abstract
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…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Quality and Management · Data Stream Mining Techniques · Cloud Computing and Resource Management
