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 条
  • [41] The Start Control of Heating System Based on Self-tuning
    Feng Zengxi
    Liu Qizhou
    2014 33RD CHINESE CONTROL CONFERENCE (CCC), 2014, : 8775 - 8778
  • [42] Self-tuning predictor with variable structure and its application
    Duan, YB
    Wang, Q
    Liu, ZD
    PROCEEDINGS OF THE 4TH WORLD CONGRESS ON INTELLIGENT CONTROL AND AUTOMATION, VOLS 1-4, 2002, : 1419 - 1421
  • [43] Self-Tuning Control of Linear Systems Followed by Deadzones
    Kazlauskas, K.
    Pupeikis, R.
    TEM JOURNAL-TECHNOLOGY EDUCATION MANAGEMENT INFORMATICS, 2014, 3 (01): : 3 - 7
  • [44] A Design of Bilateral Servo System with Self-Tuning Function
    Ohtsuka, Hirofumi
    Nakamura, Tomoaki
    2014 INTERNATIONAL CONFERENCE ON ADVANCED MECHATRONIC SYSTEMS (ICAMECHS), 2014, : 336 - 341
  • [45] A novel method for fuzzy self-tuning PID controllers
    Lou, KN
    Kuo, CY
    Sheu, LT
    SOFT COMPUTING IN INTELLIGENT SYSTEMS AND INFORMATION PROCESSING, 1996, : 194 - 199
  • [46] Self-tuning control under variance and amplitude constraints
    Królikowski, A
    (SYSID'97): SYSTEM IDENTIFICATION, VOLS 1-3, 1998, : 347 - 352
  • [47] Neural Network Self-Tuning Control for a Piezoelectric Actuator
    Li, Wenjun
    Zhang, Chen
    Gao, Wei
    Zhou, Miaolei
    SENSORS, 2020, 20 (12) : 1 - 17
  • [48] Self-tuning Filers - Overload Prediction and Preventive Tuning Using Pruned Random Forest
    Dheenadayalan, Kumar
    Srinivasaraghavan, Gopalakrishnan
    Muralidhara, V. N.
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2017, PT II, 2017, 10235 : 495 - 507
  • [49] Self-tuning algorithm for stabilizing cascade systems of a special class
    Sokolov, B.M.
    Fomin, V.N.
    Vestnik Sankt-Peterburgskogo Universiteta. Ser 1. Matematika Mekhanika Astronomiya, 2000, (02): : 33 - 38
  • [50] Self-Tuning of Impedance Matching for Wireless Power Transfer Devices
    de Abreu, Reinaldo L.
    Zoccal, Leonardo B.
    Pimenta, Tales C.
    Spadoti, Danilo H.
    2016 1ST SYMPOSIUM ON INSTRUMENTATION SYSTEMS, CIRCUITS AND TRANSDUCERS (INSCIT), 2016, : 98 - 102