FIX: Performance drop when using In-Memory OLTP with Always On availability groups in SQL Server 2016 or 2017

Applies to: SQL Server 2016 Enterprise CoreSQL Server 2016 EnterpriseSQL Server 2016 Developer

Symptoms


Assume that you use In-Memory OLTP together with Always On availability groups in Microsoft SQL Server 2016 or 2017. If the availability group is configured to use the synchronous-commit availability mode, you may notice a temporary decrease in performance for In-Memory OLTP transactions.

To check whether you are experiencing this issue, check the SQL Server 2016 XTP Transactions:Transactions created/sec performance counter. You might be experiencing this issue if there are any regular drops with an interval of about 30 to 60 seconds. Additionally, the Database:Log Pool Total Active Log Size and Log Pool Total Shared Pool Size performance counters could have the same change pattern (for example, the size decreases to zero with the same interval).

Resolution


This fix is included in the following cumulative updates for SQL Server:

Cumulative Update 1 for SQL Server 2017

Cumulative Update 5 for SQL Server 2016 Service Pack 1

Status


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

References


Learn about the terminology Microsoft uses to describe software updates.