© Benjamin Nevarez 2021
B. NevarezHigh Performance SQL Serverhttps://doi.org/10.1007/978-1-4842-6491-1_6

6. The Query Store

Benjamin Nevarez1  
(1)
Santa Clarita, CA, USA
 

Have you ever had a performance problem due to the fact that a query unexpectedly got a different execution plan? Have you ever found a plan regression after a SQL Server upgrade and wanted to know what the previous execution plan for a query was? The Query Store, a feature introduced with SQL Server 2016, can help you to troubleshoot and solve these and other performance problems related to changes in execution plans.

The Query Store automatically captures the history of queries, execution plans, and runtime statistics, and it allows you to find regressions in query plans, identify ...

Get High Performance SQL Server: Consistent Response for Mission-Critical Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.