JOB-Complex: A Challenging Benchmark for Traditional & Learned Query Optimization
Johannes Wehrstein, Timo Eckmann, Roman Heinrich, Carsten Binnig

TL;DR
JOB-Complex is a new benchmark that challenges traditional and learned query optimizers by incorporating real-world complexities, revealing their performance limitations in realistic scenarios.
Contribution
The paper introduces JOB-Complex, a benchmark with realistic query properties and a large plan set, to better evaluate optimizer performance in real-world conditions.
Findings
Traditional and learned cost models perform poorly on JOB-Complex.
Optimizers can be up to 11x slower than optimal plans.
Existing benchmarks do not reflect real-world query complexities.
Abstract
Query optimization is a fundamental task in database systems that is crucial to providing high performance. To evaluate learned and traditional optimizer's performance, several benchmarks, such as the widely used JOB benchmark, are used. However, in this paper, we argue that existing benchmarks are inherently limited, as they do not reflect many real-world properties of query optimization, thus overstating the performance of both traditional and learned optimizers. In fact, simple but realistic properties, such as joins over string columns or complex filter predicates, can drastically reduce the performance of existing query optimizers. Thus, we introduce JOB-Complex, a new benchmark designed to challenge traditional and learned query optimizers by reflecting real-world complexity. Overall, JOB-Complex contains 30 SQL queries and comes together with a plan-selection benchmark containing…
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
TopicsAdvanced Database Systems and Queries · Cloud Computing and Resource Management · Data Management and Algorithms
