Join Query Optimization with Deep Reinforcement Learning Algorithms
Not on the map. Why?
Abstract (arXiv)
Join query optimization is a complex task and is central to the performance of query processing. In fact it belongs to the class of NP-hard problems. Traditional query optimizers use dynamic programming (DP) methods combined with a set of rules and restrictions to avoid exhaustive enumeration of all possible join orders. However, DP methods are very resource intensive. Moreover, given simplifying assumptions of attribute independence, traditional query optimizers rely on erroneous cost estimations, which can lead to suboptimal query plans. Recent success of deep reinforcement learning (DRL) creates new opportunities for the field of query optimization to tackle the above-mentioned problems. In this paper, we present our DRL-based Fully Observed Optimizer (FOOP) which is a generic query optimization framework that enables plugging in different machine learning algorithms. The main idea of FOOP is to use a data-adaptive learning query optimizer that avoids exhaustive enumerations of join orders and is thus significantly faster than traditional approaches based on dynamic programming. In particular, we evaluate various DRL-algorithms and show that Proximal Policy Optimization significantly outperforms Q-learning based algorithms. Finally we demonstrate how ensemble learning techniques combined with DRL can further improve the query optimizer.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 0; 2023: 1; 2024: 1; 2025: 2.
7 papers.
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
- 2021A Survey on Deep Reinforcement Learning for Data Processing and Analyticscited by 10
- 2025Autonomous Data Agents: A New Opportunity for Smart Datacited by 6
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuningcited by 4
- 2024GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hintscited by 1
- 2021Multiple Query Optimization using a Hybrid Approach of Classical and Quantum Computingcited by 0
- 2025OntoTune: Ontology-Driven Learning for Query Optimization with Convolutional Modelscited by 0
- 2025OntoTune: Ontology-Driven Learning for Query Optimization with Convolutional Models10 Nov 2025
- 2025Autonomous Data Agents: A New Opportunity for Smart Data23 Sep 2025
- 2024GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hints7 Nov 2024
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuning10 Mar 2023
- 2021A Survey on Deep Reinforcement Learning for Data Processing and Analytics10 Aug 2021
- 2021Multiple Query Optimization using a Hybrid Approach of Classical and Quantum Computing22 Jul 2021
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration5 Jan 2021