ADOPT: Adaptively Optimizing Attribute Orders for Worst-Case Optimal Join Algorithms via Reinforcement Learning
Junxiong Wang, Immanuel Trummer, Ahmet Kara, Dan Olteanu

TL;DR
ADOPT is a reinforcement learning-based query engine that adaptively optimizes attribute processing orders in worst-case optimal join algorithms, significantly improving performance on complex queries.
Contribution
It introduces a novel adaptive approach combining reinforcement learning and a new data structure to optimize attribute orders dynamically during query execution.
Findings
Outperforms baseline systems on complex queries.
Quickly converges to near-optimal attribute orders.
Effectively handles data skew and correlation issues.
Abstract
The performance of worst-case optimal join algorithms depends on the order in which the join attributes are processed. Selecting good orders before query execution is hard, due to the large space of possible orders and unreliable execution cost estimates in case of data skew or data correlation. We propose ADOPT, a query engine that combines adaptive query processing with a worst-case optimal join algorithm, which uses an order on the join attributes instead of a join order on relations. ADOPT divides query execution into episodes in which different attribute orders are tried. Based on run time feedback on attribute order performance, ADOPT converges quickly to near-optimal orders. It avoids redundant work across different orders via a novel data structure, keeping track of parts of the join input that have been successfully processed. It selects attribute orders to try via…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Search Problems · Data Stream Mining Techniques · Advanced Bandit Algorithms Research
