A novel framework for join order selection based on reinforcement and representation learning
Join order selection is a sub-field of query optimization that aims to find the optimal join order for an SQL query with the minimum cost. The challenge lies in the exponentially growing search space as the number of tables increases, making exhaustive enumeration impractical. Traditional optimizers use static heuristics to prune the search space, but they often fail to adapt to changes or improve based on feedback from the DBMS. Recent research addresses these limitations with Deep Reinforcement Learning (DRL), allowing models to use feedback to dynamically search for better join orders and enhance performance over time. Existing research primarily focuses on capturing join order sequences and their representations at various levels, with limited comparative analysis of reinforcement learning methods. In this paper, we propose a novel framework, which integrates Graph Neural Networks (GNN), Tree-structured Long Short-Term Memory (Tree-LSTM), and dueling-DQN. We conduct a series of experiments to demonstrate the potential for improvement in DRL methods.
Authors
- Calisto Zuzarte (ORCID: https://orcid.org/0009-0006-1440-6775)
- Vincent Corvinelli (ORCID: https://orcid.org/0009-0008-9597-3070)
- Amin Kamali (ORCID: https://orcid.org/0000-0003-2176-4088)
- Verena Kantere (ORCID: https://orcid.org/0000-0002-3586-9406)
- Chang Liu (ORCID: https://orcid.org/0000-0003-4959-7541)
Institutions
- University of Ottawa (CA)
- IBM (Canada) (CA)
Publication Details
- Published
- 2024-12-15
- DOI
- https://doi.org/10.1109/bigdata62323.2024.10825394
- Primary Topic
- Rough Sets and Fuzzy Logic
- Type
- article
- Field-Weighted Citation Impact
- 0.00