Join Order Selection with Transfer Reinforcement Learning
The selection of the optimal join order is critical for the efficiency of join query execution. The addition of new tables or columns necessitates the retraining of existing reinforcement learning models from scratch, consuming a significant amount of time and computational resources. To address this problem, we proposes a transfer reinforcement learning method that utilizes policy distillation techniques to optimize join order selection. The proposed algorithm allows the policy from a trained model (teacher model) to be transferred to a new model (student model), significantly reducing training costs associated with model changes. Additionally, we introduced a matrix representing the join sequence to address the issue of different join orders in two different join trees resulting in identical encoding. The experiments demonstrate that this method reduces training time and improves the speed of query execution compared to existing algorithms.
Authors
- Ping Shen (ORCID: https://orcid.org/0000-0001-5024-3893)
- Zhewen Ding (ORCID: https://orcid.org/0000-0002-2252-8135)
- Cheng Ding (ORCID: https://orcid.org/0000-0001-7760-1814)
- Pan Su (ORCID: https://orcid.org/0000-0002-9526-0213)
- YongPan Zhang (ORCID: https://orcid.org/0000-0001-6579-0937)
- Zheng Zhang (ORCID: https://orcid.org/0000-0003-1470-6998)
- Chao Qian (ORCID: https://orcid.org/0000-0003-2207-2243)
Institutions
- Nanjing University of Posts and Telecommunications (CN)
- China Telecom (China) (CN)
- China Telecom (CN)
Publication Details
- Published
- 2024-11-28
- DOI
- https://doi.org/10.1109/cbd65573.2024.00027
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00