Query Join Order Optimization Method Based on Dynamic Double Deep Q-Network

被引:0
|
作者
Ji, Lixia [1 ,2 ]
Zhao, Runzhe [1 ,3 ]
Dang, Yiping [1 ]
Liu, Junxiu [4 ]
Zhang, Han [1 ]
机构
[1] Zheng Zhou Univ, Sch Cyberspace Secur, 100 Sci Ave, Zhengzhou 450001, Peoples R China
[2] Si Chuan Univ, Coll Comp Sci, Chengdu 610041, Peoples R China
[3] China Informat Technol Designing Consulting Inst C, 1 Huzhu Rd, Zhengzhou 450007, Peoples R China
[4] Ulster Univ, Intelligent Syst Res Ctr, Sch Comp Engn & Intelligent Syst, Londonderry BT48 7JL, Ireland
关键词
query optimization; deep reinforcement learning; double DQN; search strategy; join plan;
D O I
10.3390/electronics12061504
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A join order directly affects database query performance and computational overhead. Deep reinforcement learning (DRL) can explore efficient query plans while not exhausting the search space. However, the deep Q network (DQN) suffers from the overestimation of action values in query optimization, which can lead to limited query performance. In addition, e-greedy exploration is not efficient enough and does not enable deep exploration. Accordingly, in this paper, we propose a dynamic double DQN (DDQN) order selection method(DDOS) for join order optimization. First, the method models the join query as a Markov decision process (MDP), then solves the DRL model by integrating the network model DQN and DDQN weighting into the DRL model's estimation error problem in query joining, and finally improves the quality of developing query plans. And actions are selected using a dynamic progressive search strategy to improve the randomness and depth of exploration and accumulate a high information gain of exploration. The performance of the proposed method is compared with those of dynamic programming, heuristic algorithms, and DRL optimization methods based on the query set Join Order Benchmark (JOB). The experimental results show that the proposed method can effectively improve the query performance with a favorable generalization ability and robustness, and outperforms other baselines in multi-join query applications.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Dynamic constrained evolutionary optimization based on deep Q-network
    Liang, Zhengping
    Yang, Ruitai
    Wang, Jigang
    Liu, Ling
    Ma, Xiaoliang
    Zhu, Zexuan
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 249
  • [2] Deep Double Q-Network Based on Linear Dynamic Frame Skip
    Chen S.
    Zhang X.-F.
    Zhang Z.-Z.
    Liu Q.
    Wu J.-J.
    Yan Y.
    Jisuanji Xuebao/Chinese Journal of Computers, 2019, 42 (11): : 2561 - 2573
  • [3] Dynamic spectrum access based on double deep Q-network and convolution neural network
    Fang, Guangjin
    Shen, Bin
    Zhang, Hong
    Cui, Taiping
    2022 24TH INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION TECHNOLOGY (ICACT): ARITIFLCIAL INTELLIGENCE TECHNOLOGIES TOWARD CYBERSECURITY, 2022, : 112 - +
  • [4] Dynamic deployment method based on double deep Q-network in UAV-assisted MEC systems
    Zhang, Suqin
    Zhang, Lin
    Xu, Fei
    Cheng, Song
    Su, Weiya
    Wang, Sen
    JOURNAL OF CLOUD COMPUTING-ADVANCES SYSTEMS AND APPLICATIONS, 2023, 12 (01):
  • [5] Dynamic deployment method based on double deep Q-network in UAV-assisted MEC systems
    Suqin Zhang
    Lin Zhang
    Fei Xu
    Song Cheng
    Weiya Su
    Sen Wang
    Journal of Cloud Computing, 12
  • [6] Stochastic Double Deep Q-Network
    Lv, Pingli
    Wang, Xuesong
    Cheng, Yuhu
    Duan, Ziming
    IEEE ACCESS, 2019, 7 : 79446 - 79454
  • [7] Double Deep Q-Network Based Dynamic Framing Offloading in Vehicular Edge Computing
    Tang, Huijun
    Wu, Huaming
    Qu, Guanjin
    Li, Ruidong
    IEEE TRANSACTIONS ON NETWORK SCIENCE AND ENGINEERING, 2023, 10 (03): : 1297 - 1310
  • [8] Discrete Dynamic Berth Allocation Optimization in Container Terminal Based on Deep Q-Network
    Wang, Peng
    Li, Jie
    Cao, Xiaohua
    MATHEMATICS, 2024, 12 (23)
  • [9] Deep Deformable Q-Network: An Extension of Deep Q-Network
    Jin, Beibei
    Yang, Jianing
    Huang, Xiangsheng
    Khan, Dawar
    2017 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON WEB INTELLIGENCE (WI 2017), 2017, : 963 - 966
  • [10] Traffic Signal Time Optimization Based on Deep Q-Network
    Joo, Hyunjin
    Lim, Yujin
    APPLIED SCIENCES-BASEL, 2021, 11 (21):