Downsides of enabling SQL 2016 Query Store on a particular DB?

techresearch7777777 1,981 Reputation points
2021-01-06T21:31:36.687+00:00

Hello SQL Server 2016 Query Store sounds good.

What are the cons of enabling it, any impacts doing so, and concerns/things to be aware like any further maintenance to plan/monitor?

Thanks in advance.

SQL Server | Other
0 comments No comments
{count} votes

Accepted answer
  1. techresearch7777777 1,981 Reputation points
    2021-01-07T01:59:48.377+00:00

    Thanks Erland for the reply.

    So enabling only helps troubleshoot and does not improve performance like choosing a better execution plan automatically...and actually heard theres about 3% to 5% performance slower impact?


3 additional answers

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2021-01-06T22:31:41.89+00:00

    In most cases, the overhead of Query Store is entirely bearable. But I have heard of people who have had to disable Query Store. I guess one type of system that could suffer is one with lots of ad-hoc queries that are not parameterised.

    As for monitoring, it's a good idea to check that Query Store is not set into READ_ONLY because it fills up the space.

    Query Store is really great, and I absolutely recommend turning it on, even if you do not intend to perform a performance analysis right now. Ever had the question: "Why was the system so horribly slow between six and seven last night?". Well, with Query Store you may actually be able to answer that question. At least if it was due to a slow query.

    1 person found this answer helpful.
    0 comments No comments

  2. Cris Zhan-MSFT 6,661 Reputation points
    2021-01-07T07:02:39.937+00:00

    Hi @techresearch7777777 ,

    Enabling Query Store usually does not significantly affect performance.

    Using the Query Store, you should always apply the latest updates to your SQL Server instances to get all the improvements that Microsoft has implemented for query store. Also follow some best practices.

    Check some articles for reference:
    https://www.sqlskills.com/blogs/erin/query-store-performance-overhead/
    https://www.sqlskills.com/blogs/erin/query-store-best-practices/

    0 comments No comments

  3. techresearch7777777 1,981 Reputation points
    2021-01-08T21:19:47.933+00:00

    Thanks for all the replies, much appreciated.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.