FIX: Severe spinlock contention occurs in SQL Server 2019

Se aplica a: SQL Server 2019 on LinuxSQL Server 2019 on Windows


When you perform many online transactions on a database in SQL Server 2019, you may notice severe spinlock contention. The severe contention is generally observed on new generation and/or high-end systems. The following is the list of symptoms for severe spinlock contention:
  • Requires modern hardware such as Intel Sklylake processors
  • Requires a server with many CPUs
  • Requires a high number of concurrent users
  • Symptoms may include unexpected high CPU usage
Note: Only apply this fix and trace flag (TF) if you encounter these symptoms.


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


This issue is fixed in the following cumulative update for SQL Server:
Note: To fix this issue, trace flag (TF) 8099 has to be enabled.

About cumulative updates for 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. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.

Third-partyinformation disclaimer

The third-partyproducts that this article discusses are manufactured by companies that areindependent of Microsoft. Microsoft makes no warranty, implied or otherwise,about the performance or reliability of these products.