Symptoms
Consider the following scenario:
-
In Microsoft SQL Server 2012 or SQL Server 2014, you run a query against a table.
-
The query uses a parallel plan.
-
Read committed snapshot isolation (RCSI) is enabled at the database level.
In this scenario, you experience poor performance in SQL Server. Additionally, many latch waits occur in the NESTING_TRANSACTION_FULL or NESTING_TRANSACTION_READONLY latch class.
Notes-
To view the information about the latch waits, use the sys.dm_os_latch_stats dynamic management view.
-
To view the information about the wait queue of tasks that are waiting on a resource, use the sys.dm_os_waiting_tasks dynamic management view.
Resolution
This issue is resolved in Microsoft SQL Server 2014 Service Pack 1 and Microsoft SQL Server 2012 Service Pack 2 (SP2).
Service pack information for SQL Server 2014
To resolve this issue, obtain Service Pack 1 for SQL Server 2014.
For more information about SQL Server 2014 Service Pack 1 (SP1), see bugs that are fixed in SQL Server 2014 Service Pack 1.
Service pack information for SQL Server 2012
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2012. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2755533 How to obtain the latest service pack for SQL Server 2012
Cumulative update information
Cumulative Update 3 for SQL Server 2012 SP1
The fix for this issue was first released in Cumulative Update 3. For more information about how to obtain this cumulative update package for SQL Server 2012 SP1, click the following article number to view the article in the Microsoft Knowledge Base:
2812412 Cumulative update package 3 for SQL Server 2012 Service Pack 1Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 SP1 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2772858 The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 Naming schema for Microsoft SQL Server software update packages For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates