Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 11d 10h 38mSee the sale

Category: Query Store (QDS)

Performance Tuning

How to Track Performance of Queries That Use RECOMPILE Hints

Say we have a stored procedure that has two queries in it - the second query uses a recompile hint, and you might recognize it from my parameter sniffing session:
[crayon-6a42713385bfe683299346/]
The first query will always get the same plan, but the second query will get different plans and return different numbers of rows depending on which reputation we pass in.

Read more about How to Track Performance of Queries That Use RECOMPILE Hints 2 comments — Join the discussion
Performance Tuning

Building SQL ConstantCare®: Why People Aren’t Using Query Store

When Microsoft first talked about Query Store, I was wildly excited. It's basically a black box flight data recorder for SQL Server, tracking which queries run over time, how much work they do, and how their execution plans change.

And then it came out, and...hardly anybody used it.

Read more about Building SQL ConstantCare®: Why People Aren’t Using Query Store 31 comments — Join the discussion
Performance Tuning

What Do You Want to See in a Free Query Store Tool?

I love Query Plans
No seriously, I love digging into query plans. Even writing XQuery to dig into them in sp_BlitzCache. I was both honored and horrified to take over development of it from Jeremiah.

It's a beast, but it's my kind of beast. At around 4500 lines of code, when you want to make a change, well, &^%$ happens sometimes.
It used to make sense

Read more about What Do You Want to See in a Free Query Store Tool? 7 comments — Join the discussion
Performance Tuning

Breaking News: 2016 Query Store cleanup doesn’t work on Standard or Express Editions

If you're using SQL Server 2016's awesome new feature, Query Store, there's a new bug with automatic cleanup. Books Online explains: Automatic data cleanup fails on editions other than Enterprise and Developer. Consequently, space used by the Query Store will grow over time until configured limit is reached, if data is not purged manually. If…

Read more about Breaking News: 2016 Query Store cleanup doesn’t work on Standard or Express Editions 5 comments — Join the discussion
Performance Tuning

Breaking News: Query Store in All Editions of SQL Server 2016

Onstage at SQL Intersections in Orlando this morning, Bob Ward announced that Query Store will be available in all editions of SQL Server 2016.

This is awesome, because Query Store is a fantastic flight data recorder for your query execution plans. It'll help you troubleshoot parameter sniffing issues, connection settings issues, plan regressions, bad stats, and much more.

Read more about Breaking News: Query Store in All Editions of SQL Server 2016 7 comments — Join the discussion
Performance Tuning

The case for Query Store in tempdb

Query Store is so cool
Billed as a flight data recorder for SQL Server, the Query Store is a repository of execution plan information, like the plan cache, except a bit more actionable. And it has a GUI.

You can read all about what it does and what you can do with it around the internet. You can be suitably impressed and enchanted by the promise of data that's persisted between restarts, being able to quickly and easily address plan regression issues, and so forth.

Read more about The case for Query Store in tempdb 15 comments — Join the discussion
Performance Tuning

Enabling Query Store in Azure SQL Database

Enter Query Store Query Store, in short, is a way to track query performance over time. In Microsoft's words, "The feature automatically captures a history of queries, plans, and runtime statistics, and retains these for your review". It's like sys.dm_exec_query_stats but it persists across reboots! And it has execution plans! The Query Store is a…

Read more about Enabling Query Store in Azure SQL Database 6 comments — Join the discussion