Deep Reinforcement Learning for Join Order Enumeration
Not on the map. Why?
Abstract (arXiv)
Join order selection plays a significant role in query performance. However, modern query optimizers typically employ static join enumeration algorithms that do not receive any feedback about the quality of the resulting plan. Hence, optimizers often repeatedly choose the same bad plan, as they do not have a mechanism for "learning from their mistakes". In this paper, we argue that existing deep reinforcement learning techniques can be applied to address this challenge. These techniques, powered by artificial neural networks, can automatically improve decision making by incorporating feedback from their successes and failures. Towards this goal, we present ReJOIN, a proof-of-concept join enumerator, and present preliminary results indicating that ReJOIN can match or outperform the PostgreSQL optimizer in terms of plan quality and join enumeration efficiency.
Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Feb 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 6; 2023: 5; 2024: 2; 2025: 6; 2026: 1.
25 papers.
Sort:
By area:
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Predictioncited by 16
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Datacited by 11
- 2021A Unified Transferable Model for ML-Enhanced DBMScited by 10
- 2021A Survey on Deep Reinforcement Learning for Data Processing and Analyticscited by 10
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databasescited by 9
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuningcited by 4
- 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systemscited by 4
- 2023Kepler: Robust Learning for Faster Parametric Query Optimizationcited by 3
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Modelscited by 3
- 2022Deploying a Steered Query Optimizer in Production at Microsoftcited by 2
13 more
- 2022Learned-Database Systems Securitycited by 2
- 2023JoinGym: An Efficient Query Optimization Environment for Reinforcement Learningcited by 1
- 2023FOSS: A Self-Learned Doctor for Query Optimizercited by 1
- 2024Hype or Heuristic? Quantum Reinforcement Learning for Join Order Optimisationcited by 1
- 2024GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hintscited by 1
- 2021Baihe: SysML Framework for AI-driven Databasescited by 0
- 2022Multi-agent Databases via Independent Learningcited by 0
- 2022Learning-Based Data Storage [Vision] (Technical Report)cited by 0
- 2025Low Rank Learning for Offline Query Optimizationcited by 0
- 2025AutoIndexer: A Reinforcement Learning-Enhanced Index Advisor Towards Scaling Workloadscited by 0
- 2025Gradient-Based Join Orderingcited by 0
- 2025MetaJoin: Adaptive Join Selections for Heterogeneous Tablescited by 0
- 2026RELOAD: A Robust and Efficient Learned Query Optimizer for Database Systemscited by 0
- 2026RELOAD: A Robust and Efficient Learned Query Optimizer for Database Systems16 Apr 2026
- 2025MetaJoin: Adaptive Join Selections for Heterogeneous Tables2 Dec 2025
- 2025Gradient-Based Join Ordering18 Nov 2025
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Data10 Nov 2025
- 2025AutoIndexer: A Reinforcement Learning-Enhanced Index Advisor Towards Scaling Workloads30 Jul 2025
- 2025Low Rank Learning for Offline Query Optimization8 Apr 2025
- 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems6 Mar 2025
- 2024GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hints7 Nov 2024
- 2024Hype or Heuristic? Quantum Reinforcement Learning for Join Order Optimisation13 May 2024
- 2023FOSS: A Self-Learned Doctor for Query Optimizer11 Dec 2023
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Models13 Aug 2023
- 2023JoinGym: An Efficient Query Optimization Environment for Reinforcement Learning21 Jul 2023
13 more
- 2023Kepler: Robust Learning for Faster Parametric Query Optimization11 Jun 2023
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuning10 Mar 2023
- 2022Learned-Database Systems Security20 Dec 2022
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queries11 Dec 2022
- 2022Deploying a Steered Query Optimizer in Production at Microsoft24 Oct 2022
- 2022Learning-Based Data Storage [Vision] (Technical Report)12 Jun 2022
- 2022Multi-agent Databases via Independent Learning28 May 2022
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction3 Jan 2022
- 2021Baihe: SysML Framework for AI-driven Databases29 Dec 2021
- 2021A Survey on Deep Reinforcement Learning for Data Processing and Analytics10 Aug 2021
- 2021A Unified Transferable Model for ML-Enhanced DBMS6 May 2021
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databases3 May 2021
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumeration5 Jan 2021
- 2022Zero-Shot Cost Models for Out-of-the-box Learned Cost Predictioncited by 16
- 2021A Survey on Advancing the DBMS Query Optimizer: Cardinality Estimation, Cost Model, and Plan Enumerationcited by 14
- 2022FactorJoin: A New Cardinality Estimation Framework for Join Queriescited by 13
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Datacited by 11
- 2021A Unified Transferable Model for ML-Enhanced DBMScited by 10
- 2021A Survey on Deep Reinforcement Learning for Data Processing and Analyticscited by 10
- 2021One Model to Rule them All: Towards Zero-Shot Learning for Databasescited by 9
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuningcited by 4
- 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systemscited by 4
- 2023Kepler: Robust Learning for Faster Parametric Query Optimizationcited by 3
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Modelscited by 3
- 2022Deploying a Steered Query Optimizer in Production at Microsoftcited by 2
12 most cited of 23 All 23 (JSON)
- 2026RELOAD: A Robust and Efficient Learned Query Optimizer for Database Systems16 Apr 2026
- 2025MetaJoin: Adaptive Join Selections for Heterogeneous Tables2 Dec 2025
- 2025Gradient-Based Join Ordering18 Nov 2025
- 2025Cortex AISQL: A Production SQL Engine for Unstructured Data10 Nov 2025
- 2025Low Rank Learning for Offline Query Optimization8 Apr 2025
- 2025RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database Systems6 Mar 2025
- 2024GenJoin: Conditional Generative Plan-to-Plan Query Optimizer that Learns from Subplan Hints7 Nov 2024
- 2023FOSS: A Self-Learned Doctor for Query Optimizer11 Dec 2023
- 2023InTune: Reinforcement Learning-based Data Pipeline Optimization for Deep Recommendation Models13 Aug 2023
- 2023JoinGym: An Efficient Query Optimization Environment for Reinforcement Learning21 Jul 2023
- 2023Kepler: Robust Learning for Faster Parametric Query Optimization11 Jun 2023
- 2023A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuning10 Mar 2023
12 newest of 23 All 23 (JSON)