Self-Tuning Query Scheduling for Analytical Workloads

被引:9
|
作者
Wagner, Benjamin [1 ]
Kohn, Andre [1 ]
Neumann, Thomas [1 ]
机构
[1] Tech Univ Munich, Munich, Germany
来源
SIGMOD '21: PROCEEDINGS OF THE 2021 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA | 2021年
基金
欧洲研究理事会;
关键词
Database Systems; Query Scheduling; Parallelism; Self-Tuning;
D O I
10.1145/3448016.3457260
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:1879 / 1891
页数:13
相关论文
共 50 条
  • [1] A self-tuning filter
    Cao, SL
    Rhinehart, RR
    JOURNAL OF PROCESS CONTROL, 1997, 7 (02) : 139 - 148
  • [2] Self-Tuning Fiber Lasers
    Brunton, Steven L.
    Fu, Xing
    Kutz, J. Nathan
    IEEE JOURNAL OF SELECTED TOPICS IN QUANTUM ELECTRONICS, 2014, 20 (05) : 464 - 471
  • [3] Adaptive self-tuning neurocontrol
    Potocnik, P
    Grabec, I
    MATHEMATICS AND COMPUTERS IN SIMULATION, 2000, 51 (3-4) : 201 - 207
  • [4] A SELF-TUNING FUZZY CONTROLLER
    MAEDA, M
    MURAKAMI, S
    FUZZY SETS AND SYSTEMS, 1992, 51 (01) : 29 - 40
  • [5] An Architecture for Self-Tuning Cellular Systems
    Magnusson P.
    Oom J.
    Journal of Network and Systems Management, 2002, 10 (02) : 211 - 224
  • [6] Self-Tuning UHF Epidermal Antennas
    Amato, Francesco
    Miozzi, Carolina
    Nappi, Simone
    Marrocco, Gaetano
    2019 IEEE INTERNATIONAL CONFERENCE ON RFID TECHNOLOGY AND APPLICATIONS (IEEE RFID-TA 2019), 2019,
  • [7] Self-tuning fault diagnosis of MEMS
    Izadian, Afshin
    MECHATRONICS, 2013, 23 (08) : 1094 - 1099
  • [8] Universality Under Conditions of Self-tuning
    Ole Peters
    Michelle Girvan
    Journal of Statistical Physics, 2010, 141 : 53 - 59
  • [9] Random Stimulus Generation with Self-tuning
    Zhao, Yanni
    Bian, Jinian
    Deng, Shujun
    Kong, Zhiqiu
    2009 13TH INTERNATIONAL CONFERENCE ON COMPUTER SUPPORTED COOPERATIVE WORK IN DESIGN, 2009, : 62 - 65
  • [10] Universality Under Conditions of Self-tuning
    Peters, Ole
    Girvan, Michelle
    JOURNAL OF STATISTICAL PHYSICS, 2010, 141 (01) : 53 - 59