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 条
  • [11] Self-tuning Control of Alkylation in Batch Reactor
    Ahmed, Duraid Fadhil
    2012 FIRST NATIONAL CONFERENCE FOR ENGINEERING SCIENCES (FNCES), 2012,
  • [12] Self-tuning adaptive delay sequential elements
    Rahimi, Kambiz
    Diorio, Chris
    MICROELECTRONICS JOURNAL, 2007, 38 (4-5) : 454 - 462
  • [13] Self-Tuning Wireless Network Power Management
    Manish Anand
    Edmund B. Nightingale
    Jason Flinn
    Wireless Networks, 2005, 11 : 451 - 469
  • [14] Self-tuning and adaptation for industrial PID controllers
    Swider, Zbigniew
    Trybus, Leszek
    PRZEGLAD ELEKTROTECHNICZNY, 2009, 85 (09): : 382 - 387
  • [15] The Convergence Analysis of the Self-tuning Riccati Equation
    Gu, Lei
    Sun, Xiao-Jun
    Deng, Zi-Li
    CCDC 2009: 21ST CHINESE CONTROL AND DECISION CONFERENCE, VOLS 1-6, PROCEEDINGS, 2009, : 1154 - 1159
  • [16] A Self-tuning Framework for Cloud Storage Clusters
    Mohammad, Siba
    Schallehn, Eike
    Saake, Gunter
    ADVANCES IN DATABASES AND INFORMATION SYSTEMS, ADBIS 2015, 2015, 9282 : 351 - 364
  • [17] Study on fuzzy controller factors of self-tuning
    Fang, QS
    ICEMI'2001: FIFTH INTERNATIONAL CONFERENCE ON ELECTRONIC MEASUREMENT AND INSTRUMENTS, VOL 1, CONFERENCE PROCEEDINGS, 2001, : 867 - 870
  • [18] Self-tuning wireless network power management
    Anand, M
    Nightingale, EB
    Flinn, J
    WIRELESS NETWORKS, 2005, 11 (04) : 451 - 469
  • [19] Self-tuning algorithms for predictive functional controller
    Dovzan, Dejan
    Skrjanc, Igor
    ELEKTROTEHNISKI VESTNIK-ELECTROCHEMICAL REVIEW, 2009, 76 (04): : 205 - 210
  • [20] Self-tuning caching: the Universal Caching algorithm
    Santhanakrishnan, Ganesh
    Amer, Ahmed
    Chrysanthis, Panos K.
    SOFTWARE-PRACTICE & EXPERIENCE, 2006, 36 (11-12) : 1179 - 1188