Abstract
Query Store has different use cases that it is useful for. This chapter will go into detail on those use cases. We will discuss how to determine what is a normal workload on your database using Query Store by looking at the reports or catalog views and viewing changes against that baseline. Baselining a database is an essential skill for any DBA, and Query Store is a tool you can use to provide you with a baseline for your database. Sometimes you will need to identify what happened during a previous window of time. As a DBA you also will have to troubleshoot poorly performing queries or queries that have regressed in performance, and Query Store gives you the data to be able to do that as well. Query Store can help you identify the top consuming queries so you can see how to improve performance on the SQL Server database. Query Store can be used to capture queries after an upgrade of SQL Server to a different version and change the compatibility mode on each database later and fix any regressed queries, stabilizing upgrades of your SQL Server databases. Finally, we will look at how Query Store is used to track ad-hoc workloads and improve their performance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2019 Tracy Boggiano and Grant Fritchey
About this chapter
Cite this chapter
Boggiano, T., Fritchey, G. (2019). Query Store Use Cases. In: Query Store for SQL Server 2019. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5004-4_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5004-4_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5003-7
Online ISBN: 978-1-4842-5004-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)