Lune

SIGMOD2022Top-tier venue

LSched: A Workload-Aware Learned Query Scheduler for Analytical Database Systems

Ibrahim Sabek, Tenzin Samten Ukyab, Tim Kraska

Abstract

Query scheduling is a crucial task for analytical database systems that can greatly affect the query latency. However, existing scheduling approaches are based on heuristics and not optimal. A recent trial proposed to use reinforcement learning for automatically learning end-to-end scheduling policies. However, such trial was not capable of considering the database-specific characteristics (e.g., operator types, pipelining), and hence becomes not efficient for analytical database systems. In this paper, we try to fill this gap and introduce LSched (Learned Scheduler), a fully learned workload-aware query scheduler for in-memory analytical database systems. LSched provides an efficient inter-query and intra-query scheduling for dynamic analytical workloads (i.e., different queries can arrive/depart at any time). We integrated LSched with an efficient in-memory analytical database system, and evaluated it with TPCH, SSB, and JOB benchmarks. Our evaluation shows that LSched improves over the performance of existing state-of-the-art query schedulers and heuristic-based ones by at least 35% and 50% in both streaming and batching query workloads.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ALEX: An Updatable Adaptive Learned Index cites Learning Multi-Dimensional Indexes
  • Learning Multi-Dimensional Indexes cites ALEX: An Updatable Adaptive Learned Index
  • LIMAO: A Framework for Lifelong Modular Learned Query Optimization cites ALEX: An Updatable Adaptive Learned Index
  • LIMAO: A Framework for Lifelong Modular Learned Query Optimization cites LOGER: A Learned Optimizer towards Generating Efficient and Robust Query Execution Plans
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads cites ALEX: An Updatable Adaptive Learned Index
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads cites Learning Multi-Dimensional Indexes
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads cites LISA: A Learned Index Structure for Spatial Data
  • Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • Can Learned Models Replace Hash Functions? cites ALEX: An Updatable Adaptive Learned Index
  • Can Learned Models Replace Hash Functions? cites Learning Multi-Dimensional Indexes
  • Can Learned Models Replace Hash Functions? cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
  • Can Learned Models Replace Hash Functions? cites LISA: A Learned Index Structure for Spatial Data
  • Can Learned Models Replace Hash Functions? cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
  • PLATON: Top-down R-tree Packing with Learned Partition Policy cites ALEX: An Updatable Adaptive Learned Index
  • PLATON: Top-down R-tree Packing with Learned Partition Policy cites Learning Multi-Dimensional Indexes
  • PLATON: Top-down R-tree Packing with Learned Partition Policy cites Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed Workloads
  • PLATON: Top-down R-tree Packing with Learned Partition Policy cites LISA: A Learned Index Structure for Spatial Data
  • PLATON: Top-down R-tree Packing with Learned Partition Policy cites The PGM-index: a fully-dynamic compressed learned index with provable worst-case bounds
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. LOGER: A Learned Optimizer towards Generating Efficient and Robust Query Execution PlansTianyi Chen, Jun Gao, Hedui Chen, Yaofeng TuVLDB 2023 · 54 citations
  2. Can Learned Models Replace Hash Functions?Ibrahim Sabek, Kapil Vaidya, Dominik Horn, Andreas Kipf et al.VLDB 2023 · 29 citations
  3. PLATON: Top-down R-tree Packing with Learned Partition PolicyJingyi Yang, Gao CongSIGMOD 2024 · 12 citations
  4. LIMAO: A Framework for Lifelong Modular Learned Query OptimizationQihan Zhang, Shaolin Xie, Ibrahim SabekVLDB 2025 · 4 citations
  5. Intra-Query Runtime Elasticity for Cloud-Native Data AnalysisXukang Zhang, Huanchen Zhang, Xiaofeng MengSIGMOD 2025 · 3 citations

Builds on10

  1. ALEX: An Updatable Adaptive Learned IndexJialin Ding, Umar Farooq Minhas, Jia Yu, Chi Wang et al.SIGMOD 2020 · 274 citations
  2. Learning Multi-Dimensional IndexesVikram Nathan, Jialin Ding, Mohammad Alizadeh, Tim KraskaSIGMOD 2020 · 180 citations
  3. Tsunami: A Learned Multi-dimensional Index for Correlated Data and Skewed WorkloadsJialin Ding, Vikram Nathan, Mohammad Alizadeh, Tim KraskaVLDB 2021 · 178 citations
  4. The PGM-index: a fully-dynamic compressed learned index with provable worst-case boundsPaolo Ferragina, Giorgio VinciguerraVLDB 2020 · 178 citations
  5. LISA: A Learned Index Structure for Spatial DataPengfei Li, Hua Lu, Qian Zheng, Long Yang et al.SIGMOD 2020 · 158 citations

Related papers

  1. BQSched: A Non-Intrusive Scheduler for Batch Concurrent Queries via Reinforcement LearningChenhao Xu, Chunyu Chen, Jinglin Peng, Jiannan Wang et al.ICDE 2025 · 2 citations
  2. Improving DBMS Scheduling Decisions with Accurate Performance Prediction on Concurrent QueriesZiniu Wu, Markos Markakis, Chunwei Liu, Peter Baile Chen et al.VLDB 2025
  3. Laser: Buffer-Aware Learned Query Scheduling in Master-Standby DatabasesYuwei Huang, Guoliang LiVLDB 2025
  4. Self-Tuning Query Scheduling for Analytical WorkloadsBenjamin Wagner, André Kohn, Thomas NeumannSIGMOD 2021 · 25 citations
  5. Lequa: A Learning-Based Query-Aware Framework for Selective Query OptimizationGuoneng Li, Pengfei Zheng, Ling Xu, Yan Li et al.ICDE 2026
Dusk over the sea between two cliffs drawn in fine vertical lines