Deploying a Steered Query Optimizer in Production at Microsoft
Not on the map. Why?
Abstract (arXiv)
Modern analytical workloads are highly heterogeneous and massively complex, making generic query optimizers untenable for many customers and scenarios. As a result, it is important to specialize these optimizers to instances of the workloads. In this paper, we continue a recent line of work in steering a query optimizer towards better plans for a given workload, and make major strides in pushing previous research ideas to production deployment. Along the way we solve several operational challenges including, making steering actions more manageable, keeping the costs of steering within budget, and avoiding unexpected performance regressions in production. Our resulting system, QQ-advisor, essentially externalizes the query planner to a massive offline pipeline for better exploration and specialization. We discuss various aspects of our design and show detailed results over production SCOPE workloads at Microsoft, where the system is currently enabled by default.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 13 of its 54 references that are in the map. First posted on arXiv 24 Oct 2022.
Builds on
13 of 54 references.
References · 13
- 2014Taming the Monster: A Fast and Simple Algorithm for Contextual Banditscited by 200
- 2017The Case for Learned Index Structurescited by 188
- 2016Optimal and Adaptive Off-policy Evaluation in Contextual Banditscited by 111
- 2021Adapting to Misspecification in Contextual Banditscited by 81
- 2019Neo: A Learned Query Optimizercited by 80
- 2020Bao: Learning to Steer Query Optimizerscited by 62
- 2018Learning to Optimize Join Queries With Deep Reinforcement Learningcited by 32
- 2018Deep Reinforcement Learning for Join Order Enumerationcited by 25
- 2020Cost Models for Big Data Query Processing: Learning, Retrofitting, and Our Findingscited by 16
- 2020MLOS: An Infrastructure for Automated Software Performance Engineeringcited by 3
- 2021Optimal Resource Allocation for Serverless Queriescited by 2
- 2020Resonance: Replacing Software Constants with Context-Aware Models in Real-time Communicationcited by 1
1 more
- 2021Phoebe: A Learning-based Checkpoint Optimizercited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 1.
2 papers.