QTune: A Query-Aware Database Tuning System with Deep Reinforcement Learning

被引:141
|
作者
Li, Guoliang [1 ]
Zhou, Xuanhe [1 ]
Li, Shifu [2 ]
Gao, Bo [2 ]
机构
[1] Tsinghua Univ, Dept Comp Sci, Beijing, Peoples R China
[2] Huawei Co, Shenzhen, Guangdong, Peoples R China
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2019年 / 12卷 / 12期
关键词
PERFORMANCE;
D O I
10.14778/3352063.3352129
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Database knob tuning is important to achieve high performance (e.g., high throughput and low latency). However, knob tuning is an NP-hard problem and existing methods have several limitations. First, DBAs cannot tune a lot of database instances on different environments (e.g., different database vendors). Second, traditional machine-learning methods either cannot find good configurations or rely on a lot of high-quality training examples which are rather hard to obtain. Third, they only support coarse-grained tuning (e.g., workload-level tuning) but cannot provide fine-grained tuning (e.g., query-level tuning). To address these problems, we propose a query-aware database tuning system QTune with a deep reinforcement learning (DRL) model, which can efficiently and effectively tune the database configurations. QTune first featurizes the SQL queries by considering rich features of the SQL queries. Then QTune feeds the query features into the DRL model to choose suitable configurations. We propose a Double-State Deep Deterministic Policy Gradient (DS-DDPG) model to enable query-aware database configuration tuning, which utilizes the actor-critic networks to tune the database configurations based on both the query vector and database states. QTune provides three database tuning granularities: query-level, workload-level, and cluster-level tuning. We deployed our techniques onto three real database systems, and experimental results show that QTune achieves high performance and outperforms the state-of-the-art tuning methods.
引用
收藏
页码:2118 / 2130
页数:13
相关论文
共 50 条
  • [41] Deep Reinforcement Learning for Parameter Tuning of Robot Visual Servoing
    Xu, Meng
    Wang, Jianping
    ACM TRANSACTIONS ON INTELLIGENT SYSTEMS AND TECHNOLOGY, 2023, 14 (02)
  • [42] A Novel Deep Reinforcement Learning Algorithm for Online Antenna Tuning
    Balevi, Eren
    Andrews, Jeffrey G.
    2019 IEEE GLOBAL COMMUNICATIONS CONFERENCE (GLOBECOM), 2019,
  • [43] Crowd aware summarization of surveillance videos by deep reinforcement learning
    Xu, Junfeng
    Sun, Zhengxing
    Ma, Chen
    MULTIMEDIA TOOLS AND APPLICATIONS, 2021, 80 (04) : 6121 - 6141
  • [44] Reinforcement Learning and Deep Neural Networks for PI Controller Tuning
    Shipman, William J.
    Coetzee, Loutjie C.
    IFAC PAPERSONLINE, 2019, 52 (14): : 111 - 116
  • [45] Privacy-Aware Location Sharing with Deep Reinforcement Learning
    Erdemir, Ecenaz
    Dragotti, Pier Luigi
    Gunduz, Deniz
    2019 IEEE INTERNATIONAL WORKSHOP ON INFORMATION FORENSICS AND SECURITY (WIFS), 2019,
  • [46] Crowd aware summarization of surveillance videos by deep reinforcement learning
    Junfeng Xu
    Zhengxing Sun
    Chen Ma
    Multimedia Tools and Applications, 2021, 80 : 6121 - 6141
  • [47] Top-aware recommender distillation with deep reinforcement learning
    Liu, Hongyang
    Sun, Zhu
    Qu, Xinghua
    Yuan, Fuyong
    INFORMATION SCIENCES, 2021, 576 (576) : 642 - 657
  • [48] Uncertainty-aware autonomous sensing with deep reinforcement learning
    Murad, Abdulmajid
    Kraemer, Frank Alexander
    Bach, Kerstin
    Taylor, Gavin
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 156 : 242 - 253
  • [49] Socially Aware Robot Navigation Using Deep Reinforcement Learning
    Truong Xuan Tung
    Trung Dung Ngo
    2018 IEEE CANADIAN CONFERENCE ON ELECTRICAL & COMPUTER ENGINEERING (CCECE), 2018,
  • [50] Ranked Deep Web Page Detection Using Reinforcement Learning and Query Optimization
    Madan, Kapil
    Bhatia, Rajesh K.
    INTERNATIONAL JOURNAL ON SEMANTIC WEB AND INFORMATION SYSTEMS, 2021, 17 (04) : 99 - 121