Proximal policy optimization-based join order optimization with spark SQL

被引:0
|
作者
Lee K.-M. [1 ]
Kim I. [1 ]
Lee K.-C. [1 ]
机构
[1] Department of Computer Engineering, Chungnam National University, Daejeon
来源
Lee, Kyu-Chul (kclee@cnu.ac.kr) | 1600年 / Institute of Electronics Engineers of Korea卷 / 10期
关键词
Deep reinforcement learning; Join order optimization; Spark SQL;
D O I
10.5573/IEIESPC.2021.10.3.227
中图分类号
学科分类号
摘要
In a smart grid, massive amounts of data are generated during the production, transmission, and consumption of electricity. Often, complex and varied queries with multiple join and selection operations need to be run on such data. Several studies have focused on improving the performance of query evaluation by applying machine learning techniques to query optimization problems. However, these studies are limited to processing queries for data in a single environment. In this paper, we propose a Proximal Policy Optimization (PPO)-based join order optimization model for use on Spark SQL to improve the retrieval performance for large amounts of data. The model uses the cost computation method of Spark SQL for training with the costs of the join plans generated by the model as rewards. The model can find more join plans with lower costs than the plans that Spark SQL finds because Spark SQL is limited to a low search space. We demonstrate that the proposed model generates join plans with similar or lower costs than Spark SQL without executing the optimization algorithm of Spark SQL. Copyrights © 2021 The Institute of Electronics and Information Engineers
引用
收藏
页码:227 / 232
页数:5
相关论文
共 50 条
  • [1] DQN-based Join Order Optimization by Learning Experiences of Running Queries on Spark SQL
    Lee, Kyeong-Min
    Kim, InA
    Lee, Kyu-Chul
    20TH IEEE INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOPS (ICDMW 2020), 2020, : 740 - 742
  • [2] Proximal Policy Optimization-Based Optimization of Microwave Planar Resonators
    Pan, Jia-Hao
    Liu, Qi Qiang
    Zhao, Wen-Sheng
    Hu, Xiaoping
    You, Bin
    Hu, Yue
    Wang, Jing
    Yu, Chenghao
    Wang, Da-Wei
    IEEE TRANSACTIONS ON COMPONENTS PACKAGING AND MANUFACTURING TECHNOLOGY, 2024, 14 (12): : 2339 - 2347
  • [3] Proximal policy optimization-based controller for chaotic systems
    Yau, Her-Terng
    Kuo, Ping-Huan
    Luan, Po-Chien
    Tseng, Yung-Ruen
    INTERNATIONAL JOURNAL OF ROBUST AND NONLINEAR CONTROL, 2024, 34 (01) : 586 - 601
  • [4] Proximal Policy Optimization-Based Power Grid Structure Optimization for Reliable Splitting
    Sun, Xinwei
    Han, Shuangteng
    Wang, Yuhong
    Shi, Yunxiang
    Liao, Jianquan
    Zheng, Zongsheng
    Wang, Xi
    Shi, Peng
    ENERGIES, 2024, 17 (04)
  • [5] An Enhanced Proximal Policy Optimization-Based Reinforcement Learning Method with Random Forest for Hyperparameter Optimization
    Ma, Zhixin
    Cui, Shengmin
    Joe, Inwhee
    APPLIED SCIENCES-BASEL, 2022, 12 (14):
  • [6] Proximal Policy Optimization-Based Hierarchical Decision-Making Mechanism for Resource Allocation Optimization in UAV Networks
    Sun, Kun
    Yang, Jianyong
    Li, Jinglei
    Yang, Bo
    Ding, Shuman
    ELECTRONICS, 2025, 14 (04):
  • [7] Optimization in the catalyst optimizer of Spark SQL
    Chawla, Meenu
    Baniwal, Vinita
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2018, 26 (05) : 2489 - 2499
  • [8] Query Execution Optimization in Spark SQL
    Ji, Xuechun
    Zhao, Maoxian
    Zhai, Mingyu
    Wu, Qingxi
    SCIENTIFIC PROGRAMMING, 2020, 2020 (2020)
  • [9] Proximal Policy Optimization-Based Anti-Jamming UAV-Assisted Data Collection
    Chen, Ze
    Yang, Ping
    Xiao, Yue
    Qian, Liangxin
    IEEE CONFERENCE ON GLOBAL COMMUNICATIONS, GLOBECOM, 2023, : 5055 - 5060
  • [10] An AGC Dynamic Optimization Method Based on Proximal Policy Optimization
    Liu, Zhao
    Li, Jiateng
    Zhang, Pei
    Ding, Zhenhuan
    Zhao, Yanshun
    FRONTIERS IN ENERGY RESEARCH, 2022, 10