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 条
  • [21] Dynamic Parallel Machine Scheduling With Deep Q-Network
    Liu, Chien-Liang
    Tseng, Chun-Jan
    Huang, Tzu-Hsuan
    Wang, Jhih-Wun
    IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2023, 53 (11): : 6792 - 6804
  • [22] Deep Q-Network Based Dynamic Movement Strategy in a UAV-Assisted Network
    Zhong, Xukai
    Huo, Yiming
    Dong, Xiaodai
    Liang, Zhonghua
    2020 IEEE 92ND VEHICULAR TECHNOLOGY CONFERENCE (VTC2020-FALL), 2020,
  • [23] Deep Reinforcement Learning Pairs Trading with a Double Deep Q-Network
    Brim, Andrew
    2020 10TH ANNUAL COMPUTING AND COMMUNICATION WORKSHOP AND CONFERENCE (CCWC), 2020, : 222 - 227
  • [24] Deep Q-network Based Reinforcement Learning for Distributed Dynamic Spectrum Access
    Yadav, Manish Anand
    Li, Yuhui
    Fang, Guangjin
    Shen, Bin
    2022 IEEE 2ND INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATION AND ARTIFICIAL INTELLIGENCE (CCAI 2022), 2022, : 227 - 232
  • [25] Double Deep Q-Network by Fusing Contrastive Predictive Coding
    Liu, Jianfeng
    Pu, Jiexin
    Sun, Lifan
    Computer Engineering and Applications, 2023, 59 (06) : 162 - 170
  • [26] A dueling double deep Q-network with style-based recalibration module for traffic light optimization in deep reinforcement learning
    Sheng, Jinfang
    Cai, Wang
    Wang, Bin
    PROCEEDINGS OF THE INSTITUTION OF MECHANICAL ENGINEERS PART D-JOURNAL OF AUTOMOBILE ENGINEERING, 2025,
  • [27] Stock trading rule discovery with double deep Q-network
    Shi, Yong
    Li, Wei
    Zhu, Luyao
    Guo, Kun
    Cambria, Erik
    APPLIED SOFT COMPUTING, 2021, 107
  • [28] Real-Time Optimization of Microgrid Energy Management Using Double Deep Q-Network
    Rokh, Shahram Bahman
    Zhang, Rui
    Ravishankar, Jayashri
    Saberi, Hossein
    Fletcher, John
    2023 IEEE POWER & ENERGY SOCIETY INNOVATIVE SMART GRID TECHNOLOGIES CONFERENCE, ISGT, 2023,
  • [29] Path planning of mobile robot based on improved double deep Q-network algorithm
    Wang, Zhenggang
    Song, Shuhong
    Cheng, Shenghui
    FRONTIERS IN NEUROROBOTICS, 2025, 19
  • [30] Double Deep Q-Network Method for Energy Efficiency and Throughput in a UAV-Assisted Terrestrial Network
    Ouamri M.A.
    Alkanhel R.
    Singh D.
    El-Kenaway E.-S.M.
    Ghoneim S.S.M.
    Computer Systems Science and Engineering, 2023, 46 (01): : 73 - 92