Proceedings of the First International Workshop on Exploiting Artificial Intelligence Techniques for Data Management 2018
DOI: 10.1145/3211954.3211957
|View full text |Cite
|
Sign up to set email alerts
|

Deep Reinforcement Learning for Join Order Enumeration

Abstract: 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 … Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
122
0
2

Year Published

2019
2019
2023
2023

Publication Types

Select...
4
3
2

Relationship

1
8

Authors

Journals

citations
Cited by 136 publications
(124 citation statements)
references
References 12 publications
0
122
0
2
Order By: Relevance
“…As cardinality estimates improve, the need to re-optimize decreases. In Figure 8, we compare perfect-(n) plus re-optimization for varying values of n. We see that re-optimization improves the latency of perfect-(n) estimates until perfect- (5). While re-optimizing perfect-(5) slows the execution of the workload, the risk is relatively small, The execution time of the benchmark is only 6% slower with reoptimization than only perfect- (5).…”
Section: B Re-optimization and Better Cardinality Estimatesmentioning
confidence: 97%
See 1 more Smart Citation
“…As cardinality estimates improve, the need to re-optimize decreases. In Figure 8, we compare perfect-(n) plus re-optimization for varying values of n. We see that re-optimization improves the latency of perfect-(n) estimates until perfect- (5). While re-optimizing perfect-(5) slows the execution of the workload, the risk is relatively small, The execution time of the benchmark is only 6% slower with reoptimization than only perfect- (5).…”
Section: B Re-optimization and Better Cardinality Estimatesmentioning
confidence: 97%
“…Put simply, a small number of optimization mistakes leads to workload performance far below what is possible. Ideas to improve the optimizer in these cases include better selectivity estimates [2]- [4] providing more exotic search mechanisms for plans [5], [6], and changing query plans that have gone off the rails at runtime [7]- [11]. A more recent trend is to recast query optimization as a machine learning problem.…”
Section: Introductionmentioning
confidence: 99%
“…Deep learning We are not the first to apply deep learning to database management problems. Deep learning has seen a recent groundswell of activity in the systems community [55], including several works on query optimization [30,37], entity matching [35], index selection [40,45], indexes themselves [18], and cardinality estimation [17,27].…”
Section: Related Workmentioning
confidence: 99%
“…Together with two strategies of exploration and exploitation, the action a t will be selected. After that action, the agent will observe a new state S t+1 , and get the rewards R t of the new environment [18]. R t will be used to update the agent's strategies.…”
Section: A Deep Reinforcement Learningmentioning
confidence: 99%