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 条
  • [41] A Deep Q-Network for the Beer Game: Deep Reinforcement Learning for Inventory Optimization
    Oroojiooyjadid, Afshin
    Nazari, MohammadReza
    Snyder, Lawrence, V
    Takac, Martin
    M&SOM-MANUFACTURING & SERVICE OPERATIONS MANAGEMENT, 2022, 24 (01) : 285 - 304
  • [42] Dynamic Charging Strategy Optimization for UAV-Assisted Wireless Rechargeable Sensor Networks Based on Deep Q-Network
    Liu, Ning
    Zhang, Jian
    Luo, Chuanwen
    Cao, Jia
    Hong, Yi
    Chen, Zhibo
    Chen, Ting
    IEEE INTERNET OF THINGS JOURNAL, 2024, 11 (12): : 21125 - 21134
  • [43] Manufacturing Resource Scheduling Based on Deep Q-Network
    ZHANG Yufei
    ZOU Yuanhao
    ZHAO Xiaodong
    Wuhan University Journal of Natural Sciences, 2022, 27 (06) : 531 - 538
  • [44] A Deep Q-Network for the Beer Game: Deep Reinforcement Learning for Inventory Optimization
    Oroojlooyjadid A.
    Nazari M.
    Snyder L.V.
    Takáč M.
    Manufacturing and Service Operations Management, 2022, 24 (01): : 285 - 304
  • [45] Deep Q-Network and Traffic Prediction based Routing Optimization in Software Defined Networks
    Bouzidi, El Hocine
    Outtagarts, Abdelkader
    Langar, Rami
    Boutaba, Raouf
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2021, 192
  • [46] AGV Path Planning with Dynamic Obstacles Based on Deep Q-Network and Distributed Training
    Xie, Tingbo
    Yao, Xifan
    Jiang, Zhenhong
    Meng, Junting
    INTERNATIONAL JOURNAL OF PRECISION ENGINEERING AND MANUFACTURING-GREEN TECHNOLOGY, 2025,
  • [47] On Joint Offloading and Resource Allocation: A Double Deep Q-Network Approach
    Khoramnejad, Fahime
    Erol-Kantarci, Melike
    IEEE TRANSACTIONS ON COGNITIVE COMMUNICATIONS AND NETWORKING, 2021, 7 (04) : 1126 - 1141
  • [48] Intelligent Voltage Control Method in Active Distribution Networks Based on Averaged Weighted Double Deep Q-network Algorithm
    Yangyang Wang
    Meiqin Mao
    Liuchen Chang
    Nikos D.Hatziargyriou
    JournalofModernPowerSystemsandCleanEnergy, 2023, 11 (01) : 132 - 143
  • [49] Timeslot Scheduling with Reinforcement Learning Using a Double Deep Q-Network
    Ryu, Jihye
    Kwon, Juhyeok
    Ryoo, Jeong-Dong
    Cheung, Taesik
    Joung, Jinoo
    ELECTRONICS, 2023, 12 (04)
  • [50] Visual Analysis of Deep Q-network
    Seng, Dewen
    Zhang, Jiaming
    Shi, Xiaoying
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2021, 15 (03): : 853 - 873