Parameters are fundamental drivers of the query optimization process. We discussed the topic of parameter sensitivity, known as parameter sniffing, in the The importance of parameters section of Chapter 2, Understanding Query Processing, and the Query plan properties of interest section in Chapter 4, Exploring Query Execution Plans.
This brings us to the other main benefit of the Query Store: tracking plan changes over time—in other words, regressions from parameter-sensitive plans. With this exercise, we want to make sure that the volatility that can come with parameter-sensitive plans is addressed, and that the plan that is used is the one that's best for most uses, if not all. If successful, we will address the ...