Deploying a Steered Query Optimizer in Production at Microsoft

16Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Modern analytical workloads are highly heterogeneous and massively complex, making generic out of the box 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, QO-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.

Cite

CITATION STYLE

APA

Zhang, W., Interlandi, M., Mineiro, P., Qiao, S., Ghazanfari, N., Lie, K., … Jindal, A. (2022). Deploying a Steered Query Optimizer in Production at Microsoft. In Proceedings of the ACM SIGMOD International Conference on Management of Data (pp. 2299–2311). Association for Computing Machinery. https://doi.org/10.1145/3514221.3526052

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free