Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

After you install SQL Server 2014 Service Pack 1 (SP1), SQL Server 2012 SP3, or SQL Server 2016, you experience slow query performance and elevated privileged (kernel) mode CPU usage until the server is restarted. You may also see a high volume of PAGELATCH_* waits.

Resolution

The issue was fixed in the following cumulative updates of SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates for SQL Server:




Cause

SQL Server uses dynamic latch promotion and demotion logic (super/sub-latch). This improves SQL Server performance and scalability by keeping track of the number of acquires on a latch, and on how long it should take to acquire the same latch if no latch contention existed. Then, eligible latches are promoted (super-latch) based on this model. When there are many changes (inserts/updates/deletes) on a Heap or BTree (HoBT), the HoBT-associated latches may be promoted to super latch status. However, the demotion does not occur automatically. You can read more about super/sub-latching in this article.

If these HoBTs are later deallocated, the freed HoBT goes back to a global cache for reuse. When that HOBT is reused, it reuses the previously promoted latch, even when there is no contention on the HoBT. This adds CPU overhead. This behavior increases the privileged (kernel) mode CPU usage of SQL Server until the server is restarted. This increase typically adds no more than several microseconds with each execution. You may also see a high volume of PAGELATCH_* waits because of these extended super-latches on HoBTs. 

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×