Lune

SIGMOD2021顶会

Self-Tuning Query Scheduling for Analytical Workloads

Benjamin Wagner, André Kohn, Thomas Neumann

摘要

Most database systems delegate scheduling decisions to the operating system. While such an approach simplifies the overall database design, it also entails problems. Adaptive resource allocation becomes hard in the face of concurrent queries. Furthermore, incorporating domain knowledge to improve query scheduling is difficult.

To mitigate these problems, many modern systems employ forms of task-based parallelism. The execution of a single query is broken up into small, independent chunks of work (tasks). Now, fine-grained scheduling decisions based on these tasks are the responsibility of the database system. Despite being commonplace, little work has focused on the opportunities arising from this execution model.

In this paper, we show how task-based scheduling in database systems opens up new areas for optimization. We present a novel lock-free, self-tuning stride scheduler that optimizes query latencies for analytical workloads. By adaptively managing query priorities and task granularity, we provide high scheduling elasticity. By incorporating domain knowledge into the scheduling decisions, our system is able to cope with workloads that other systems struggle with. Even at high load, we retain near optimal latencies for short running queries. Compared to traditional database systems, our design often improves tail latencies by more than 10x.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. LSched: A Workload-Aware Learned Query Scheduler for Analytical Database SystemsIbrahim Sabek, Tenzin Samten Ukyab, Tim KraskaSIGMOD 2022 · 25 次引用
  2. NyxCache: Flexible and Efficient Multi-tenant Persistent Memory CachingKan Wu, Kaiwei Tu, Yuvraj Patel, Rathijit Sen 等FAST 2022 · 22 次引用
  3. Accelerating database analytic query workloads using an associative processorHelena Caminal, Yannis Chronis, Tianshu Wu, Jignesh M. Patel 等ISCA 2022 · 19 次引用
  4. Blueprinting the Cloud: Unifying and Automatically Optimizing Cloud Data Infrastructures with BRADGeoffrey X. Yu, Ziniu Wu, Ferdinand Kossmann, Tianyu Li 等VLDB 2024 · 11 次引用
  5. On-Demand State Separation for Cloud Data WarehousingChristian Winter, Jana Giceva, Thomas Neumann, Alfons KemperVLDB 2022 · 9 次引用

它引用的 Paper1

  1. Handling Highly Contended OLTP Workloads Using Fast Dynamic PartitioningGuna Prasaad, Alvin Cheung, Dan SuciuSIGMOD 2020 · 34 次引用

相关 Paper

  1. Low-Latency Transaction Scheduling via Userspace Interrupts: Why Wait or Yield When You Can Preempt?Kaisong Huang, Jiatang Zhou, Zhuoyue Zhao, Dong Xie 等SIGMOD 2025 · 8 次引用
  2. Improving DBMS Scheduling Decisions with Accurate Performance Prediction on Concurrent QueriesZiniu Wu, Markos Markakis, Chunwei Liu, Peter Baile Chen 等VLDB 2025
  3. The Art of Latency Hiding in Modern Database EnginesKaisong Huang, Tianzheng Wang, Qingqing Zhou, Qingzhong MengVLDB 2024 · 23 次引用
  4. Tao: Improving Resource Utilization while Guaranteeing SLO in Multi-tenant Relational Database-as-a-ServiceHaotian Liu, Runzhong Li, Ziyang Zhang, Bo TangSIGMOD 2025 · 2 次引用
  5. An Efficient Transfer Learning Based Configuration Adviser for Database TuningXinyi Zhang, Hong Wu, Yang Li, Zhengju Tang 等VLDB 2024 · 25 次引用
黄昏的海面,两侧是细线勾勒的悬崖