What this Query Store bug tells me?

Published On: 2016-07-05By:

You may have heard that there’s a bug in SQL Server 2016 related to the query store in non-Enterprise editions.  This is a less than dangerous bug, in that in editions of SQL Server 2016 other than Enterprise Edition when the space allocated to the query store fills it stops collecting data.  Nothing more dangerous than that.475143348_556d950243_b

What this tells me is that at some point during the development cycle Query Store the Query Store was going to be Enterprise Edition only.

But thankfully someone at Microsoft released this would be an awful thing and they introduced it into all the editions.

This also means that this should be pretty quick to fix in a later CU as it’ll just be a matter of moving the call to the function to clean that up from inside as if/then block to outside the if/then block.

Hopefully this will be that easy to fix, and a fix can get rolled out in one of the first couple of CUs.  Until then, just setup a job to clean out the old data from the query store nightly.  If you are hitting this bug, I’d also recommend increasing the size of your query store to 1 Gig (or 5 on a really busy system) to help avoid the bug and make sure that you have enough room for data in the query store between flushing the data.

Denny

The post What this Query Store bug tells me? appeared first on SQL Server with Mr. Denny.


Contact the Author | Contact DCAC

Video

Globally Recognized Expertise

As Microsoft MVP’s and Partners as well as VMware experts, we are summoned by companies all over the world to fine-tune and problem-solve the most difficult architecture, infrastructure and network challenges.

And sometimes we’re asked to share what we did, at events like Microsoft’s PASS Summit 2015.

Awards & Certifications

Microsoft Partner    Microsoft MVP    Microsoft Certified Master    VMWare Partner    VMWare vExpert
   Best Full-Service Cloud Technology Consulting Company    Insights Sccess Award    Technology Headlines Award    Golden Bridge Gold Award    CIO Review Top 20 Azure Solutions Providers
Share via
Copy link