BASE: Bridging the Gap between Cost and Latency for Query Optimization

被引:6
|
作者
Chen, Xu [1 ]
Wang, Zhen [2 ]
Liu, Shuncheng [1 ]
Li, Yaliang [2 ]
Zeng, Kai [2 ]
Ding, Bolin [2 ]
Zhou, Jingren [2 ]
Su, Han [1 ]
Zheng, Kai [1 ]
机构
[1] Univ Elect Sci & Technol China, Chengdu, Peoples R China
[2] Alibaba Grp, Hangzhou, Peoples R China
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2023年 / 16卷 / 08期
关键词
D O I
10.14778/3594512.3594525
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Some recent works have shown the advantages of reinforcement learning (RL) based learned query optimizers. These works often use the cost (i.e., the estimation of cost model) or the latency (i.e., execution time) as guidance signals for training their learned models. However, cost-based learning underperforms in latency and latency-based learning is time-intensive. In order to bypass such a dilemma, researchers attempt to transfer a learned value network from the cost domain to the latency domain. We recognize critical insights in cost/latency-based training, prompting us to transfer the reward function rather than the value network. Based on this idea, we propose a two-stage RL-based framework, BASE, to bridge the gap between cost and latency. After learning a policy based on cost signals in its first stage, BASE formulates transferring the reward function as a variant of inverse reinforcement learning. Intuitively, BASE learns to calibrate the reward function and updates the policy regarding the calibrated one in a mutually-improved manner. Extensive experiments exhibit the superiority of BASE on two benchmark datasets: Our optimizer outperforms traditional DBMS, using 30% less training time than SOTA methods. Meanwhile, our approach can enhance the efficiency of other learning-based optimizers.
引用
收藏
页码:1958 / 1966
页数:9
相关论文
共 50 条
  • [21] Soybean Knowledge Base (SoyKB) : Bridging the gap between soybean translational genomics and breeding
    Joshi, Trupti
    Fitzpatrick, Michael R.
    Chen, Shiyuan
    Liu, Yang
    Zhang, Hongxin
    Endacott, Ryan Z.
    Gaudiello, Eric C.
    Stacey, Gary
    Nguyen, Henry T.
    Xu, Dong
    2013 IEEE INTERNATIONAL CONFERENCE ON BIOINFORMATICS AND BIOMEDICINE (BIBM), 2013,
  • [22] Bridging the credibility gap in cost effectiveness analysis
    Siderowf, Andrew
    MOVEMENT DISORDERS, 2014, 29 (02) : 164 - 165
  • [23] Evolutionary Fuzzy-based gravitational search algorithm for query optimization in crowdsourcing system to minimize cost and latency
    Bhaskar, N.
    Kumar, P. Mohan
    Renjit, J. Arokia
    COMPUTATIONAL INTELLIGENCE, 2021, 37 (01) : 2 - 20
  • [24] DeepCC: Bridging the Gap Between Congestion Control and Applications via Multiobjective Optimization
    Zhang, Lei
    Cui, Yong
    Wang, Mowei
    Zhu, Kewei
    Zhu, Yibo
    Jiang, Yong
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2022, 30 (05) : 2274 - 2288
  • [25] Mind the Gap: Bridging Multi-Domain Query Workloads with EmptyHeaded
    Aberger, Christopher R.
    Lamb, Andrew
    Olukotun, Kunle
    Re, Christopher
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2017, 10 (12): : 1849 - 1852
  • [26] The research of query optimization base on materialized view
    Liu An
    Ning Hong
    Shi Chuan
    Luo Rongling
    2011 INTERNATIONAL CONFERENCE ON FUTURE COMPUTER SCIENCE AND APPLICATION (FCSA 2011), VOL 2, 2011, : 516 - 519
  • [27] Bridging the gap between finance and clinical operations with activity-based cost management
    Storfjell, JL
    Jessup, S
    JOURNAL OF NURSING ADMINISTRATION, 1996, 26 (12): : 12 - 17
  • [28] Light NUCA: a proposal for bridging the inter-cache latency gap
    Suarez, Dario
    Monreal, Teresa
    Vallejo, Fernando
    Beivide, Ramon
    Vinals, Victor
    DATE: 2009 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, VOLS 1-3, 2009, : 530 - +
  • [29] Bridging the gap between TLM and FDTD
    Eswarappa, C
    Hoefer, WJR
    IEEE MICROWAVE AND GUIDED WAVE LETTERS, 1996, 6 (01): : 4 - 6
  • [30] Bridging the gap between invention and innovation
    Carlson, LE
    Sullivan, JF
    INTERNATIONAL JOURNAL OF ENGINEERING EDUCATION, 2005, 21 (02) : 205 - 211