For the baseline, Query Store is your answer right there.
For testing querie, restoring a backup better, since if you sciprt tables, the statistics histogramme may come out different. But if the database is very big, you may need to compromise.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
We don't have baselines in our env. I mean, no monitoring tool. We use sp_whoisactive every 5 mins. Currently, we are facing some query performance issues.
Want to know what are the things to be considered or how to take query performance baselines? like rows counts, indexes, execution plans etc..
Also, suppose I want to test the same query in sub-prod env, do we need to restore entire prod database of the issue day or just dump those required tables/objects into a testdb and then do the testing on the smaller dataset testdb?
Please suggest.
Thanks,
Sam
For the baseline, Query Store is your answer right there.
For testing querie, restoring a backup better, since if you sciprt tables, the statistics histogramme may come out different. But if the database is very big, you may need to compromise.