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 条
  • [21] Principle and simulation of the self-tuning passive filter
    Liu, ZZ
    Yang, ZJ
    Zhang, X
    Conference Record of the 2005 IEEE Industry Applications Conference, Vols 1-4, 2005, : 1884 - 1887
  • [22] Design and Application of Self-tuning PI Controller
    Kong, Xiaohong
    Zhang, Baojian
    Mao, Xinhua
    Chen, Yanfeng
    Song, Changyuan
    ADVANCES IN MECHATRONICS TECHNOLOGY, 2011, 43 : 160 - 164
  • [23] Self-tuning Intel Restricted Transactional Memory
    Diegues, Nuno
    Romano, Paolo
    PARALLEL COMPUTING, 2015, 50 : 25 - 52
  • [24] Self-tuning Multivariate Variational Mode Decomposition
    Lang, Xun
    Wang, Jiayi
    Chen, Qiming
    He, Bingbing
    Mao, Rukai
    Xie, Lei
    Dianzi Yu Xinxi Xuebao/Journal of Electronics and Information Technology, 2024, 46 (07): : 2994 - 3001
  • [25] Self-Tuning Deep Brain Stimulation Controller for Suppression of Beta Oscillations: Analytical Derivation and Numerical Validation
    Fleming, John E.
    Orlowski, Jakub
    Lowery, Madeleine M.
    Chaillet, Antoine
    FRONTIERS IN NEUROSCIENCE, 2020, 14
  • [26] Self-Tuning for Short-Term Memory Consumers
    Ludger C. Overbeck
    Karsten Schmidt
    Datenbank-Spektrum, 2011, 11 (1) : 37 - 41
  • [27] Self-tuning of a switching controller for scanning motion systems
    Heertjes, Marcel F.
    Nijmeijer, Henk
    MECHATRONICS, 2012, 22 (03) : 310 - 319
  • [28] Self-tuning of PID controllers by adaptive interaction.
    Lin, F
    Brandt, RD
    Saikalis, G
    PROCEEDINGS OF THE 2000 AMERICAN CONTROL CONFERENCE, VOLS 1-6, 2000, : 3676 - 3681
  • [29] A self-tuning genetic algorithm with applications in biomarker discovery
    Popovic, Dusan
    Moschopoulos, Charalampos
    Sakai, Ryo
    Sifrim, Alejandro
    Aerts, Jan
    Moreau, Yves
    De Moor, Bart
    2014 IEEE 27TH INTERNATIONAL SYMPOSIUM ON COMPUTER-BASED MEDICAL SYSTEMS (CBMS), 2014, : 233 - 238
  • [30] PID Parameters Self-tuning Based on Simplex Method
    Fu, Lanhui
    Zhou, Lei
    Liang, Jianan
    Lin, Mingyong
    PROCEEDINGS OF THE 30TH CHINESE CONTROL AND DECISION CONFERENCE (2018 CCDC), 2018, : 4769 - 4774