FOJA:Feature Optimization for Join Order Selection Based on AlphaJoin
Query optimization remains a challenging issue, with existing database management systems (DBMSs) often missing optimal execution plans. Determining an effective join order is crucial for achieving good performance in database systems. A major challenge in join order selection is enumerating a set of candidate orders and identifying the most efficient one. Searching within a larger candidate space increases the likelihood of finding a good plan but also raises the cost of query optimization. Using deep reinforcement learning to optimize the join order selection problem, the embedding representations generated during feature extraction for queries significantly influence the resulting query execution plan. Current join order selection methods, such as Alpha.loin, do not consider selectivity-the ratio of rows that satisfy the conditions within the result set-as a feature, nor do they account for the choice of join operators. In this paper, we introduce selectivity as a weighted feature and include join operators in the feature set to recommend suitable join operators. Building on AlphaJoin, we incorporate selectivity and operator choice, and conduct experiments on the more comprehensive JOB dataset, demonstrating the effectiveness of our proposed solution.
Authors
- Jun Tie (ORCID: https://orcid.org/0000-0002-0259-2447)
- Shipeng Cao
- Yong Ai (ORCID: https://orcid.org/0000-0002-7917-3574)
- Bowen Zhang (ORCID: https://orcid.org/0000-0002-8847-1215)
- Fan Yin (ORCID: https://orcid.org/0000-0002-6443-2916)
- Chong Sun (ORCID: https://orcid.org/0000-0001-8915-0969)
- Mian Wu
Institutions
- Minzu University of China (CN)
- Genertec Shenyang Machine Tool Co., Ltd. (China) (CN)
Publication Details
- Published
- 2024-10-11
- DOI
- https://doi.org/10.1109/icebe62490.2024.00052
- Primary Topic
- Face and Expression Recognition
- Type
- article
- Field-Weighted Citation Impact
- 0.00