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

强化学习 计算机科学 延迟(音频) 桥接(联网) 水准点(测量) 人工智能 机器学习 计算机网络 电信 大地测量学 地理
作者
Changqiao Xu,Zhen Wang,Shuncheng Liu,Yaliang Li,Kai Zeng,Bolin Ding,Jingren Zhou,Han Su,Kai Zheng
出处
期刊:Proceedings of the VLDB Endowment [Association for Computing Machinery]
卷期号:16 (8): 1958-1966
标识
DOI:10.14778/3594512.3594525
摘要

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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
杏子完成签到 ,获得积分10
1秒前
今后应助下次见采纳,获得10
4秒前
Zzzz应助向日葵采纳,获得10
5秒前
yy发布了新的文献求助10
5秒前
5秒前
puuuunido完成签到 ,获得积分10
5秒前
5秒前
7秒前
思源应助jerry采纳,获得10
7秒前
8秒前
wanci应助su采纳,获得10
8秒前
8秒前
9秒前
9秒前
Zzzz应助柚子采纳,获得10
10秒前
11秒前
11秒前
12秒前
yy完成签到,获得积分10
13秒前
14秒前
茹茹发布了新的文献求助10
15秒前
Sylvia_J完成签到 ,获得积分10
15秒前
Jasper应助迷路的依波采纳,获得10
15秒前
15秒前
研友_ZGmoVL发布了新的文献求助10
15秒前
Th完成签到,获得积分10
17秒前
su发布了新的文献求助10
18秒前
xiaxia关注了科研通微信公众号
18秒前
18秒前
零一秒发布了新的文献求助10
20秒前
慕青应助shashaxiaobendan采纳,获得20
20秒前
21秒前
忐忑的忆霜完成签到,获得积分10
21秒前
英俊的铭应助雪宝采纳,获得10
22秒前
徐梦曦完成签到 ,获得积分10
25秒前
小小牛马发布了新的文献求助50
25秒前
觉皇发布了新的文献求助10
28秒前
李健的小迷弟应助su采纳,获得10
28秒前
vadfdfb完成签到,获得积分10
30秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Arthritis and Related Conditions, An Issue of Orthopedic Clinics 1000
Development of a Bridge Weigh-In-Motion System: A technology to convert the bridge response to the passage of traffic into data on vehicle configurations, speeds, times of travel and weights 1000
ズームレンズの光学設計に関する研究 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7288854
求助须知:如何正确求助?哪些是违规求助? 8908372
关于积分的说明 18854738
捐赠科研通 6957340
什么是DOI,文献DOI怎么找? 3208959
关于科研通互助平台的介绍 2378678
邀请新用户注册赠送积分活动 2184731