Sibyl: Forecasting Time-Evolving Query Workloads
Not on the map. Why?
Abstract (arXiv)
Database systems often rely on historical query traces to perform workload-based performance tuning. However, real production workloads are time-evolving, making historical queries ineffective for optimizing future workloads. To address this challenge, we propose SIBYL, an end-to-end machine learning-based framework that accurately forecasts a sequence of future queries, with the entire query statements, in various prediction windows. Drawing insights from real-workloads, we propose template-based featurization techniques and develop a stacked-LSTM with an encoder-decoder architecture for accurate forecasting of query workloads. We also develop techniques to improve forecasting accuracy over large prediction windows and achieve high scalability over large workloads with high variability in arrival rates of queries. Finally, we propose techniques to handle workload drifts. Our evaluation on four real workloads demonstrates that SIBYL can forecast workloads with an 87.3% median F1 score, and can result in 1.7× and 1.3× performance improvement when applied to materialized view selection and index selection applications, respectively.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 9 of its 54 references that are in the map. First posted on arXiv 8 Jan 2024.
Builds on
9 of 54 references.
References · 9
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
- 2019Neo: A Learned Query Optimizercited by 80
- 2020Bao: Learning to Steer Query Optimizerscited by 62
- 2018Apache Calcite: A Foundational Framework for Optimized Query Processing Over Heterogeneous Data Sourcescited by 25
- 2020Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findingscited by 16
- 2018Query2Vec: An Evaluation of NLP Techniques for Generalized Workload Analyticscited by 8
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 2.
4 papers.
- 2026Towards Anticipatory Databases Through Shared Data and Workload Semantics13 Sep 2026
- 2026Intelligent Edge Computing31 Aug 2026
- 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interact10 Dec 2025
- 2024LearnedWMP: Workload Memory Prediction Using Distribution of Query Templates22 Jan 2024