Article ID: 2809338 - View products that this article applies to.
Assume that you enable a feature like AlwaysOn Availability Groups that uses log pool in an instance of Microsoft SQL Server 2012 or Microsoft SQL Server 2014. In this situation, the log write waits counter for the log buffer on the SQL Server instance has a high value. You will also notice high values for CMEMTHREAD and WRITELOG wait types in dynamic management views (DMVs). Additionally, mini dump files are generated.
Note The log pool is an in-memory cache of the transaction log. This cache is used, among other things: to optimize reading the log during recovery, and rollback operations in transaction replication, and for the AlwaysOn Availability Groups feature.
This issue occurs because the log pool uses a global pointer to a memory object (PMO) for all databases.
When many threads try to write logs by using the log pool, all the threads have to wait for the pointer to a memory object resulting in the contention described in the Symptoms section.
SQL Server 2014 Service Pack 1By default, Service Pack 1 for SQL Server 2014 includes this fix and you do not have to add any trace flags to enable the fix.
SQL Server 2014The issue has been fixed in the RTM version of SQL Server 2014, but you still need to enable the trace flag T9024 and/or 8048to activate the fix. After you enable this trace flag, the SQL Server instance partitions the pointer to a memory object at node level.
SQL Server 2012
Cumulative Update 3 for SQL Server 2012 SP1The 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:
2812412Note 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:
(https://support.microsoft.com/kb/2812412/ )Cumulative update package 3 for SQL Server 2012 Service Pack 1
2772858Note After you apply the hotfix you have to enable the trace flag T9024 to activate the fix. After you enable this trace flag, the SQL Server instance partitions the pointer to a memory object at node level.
(https://support.microsoft.com/kb/2772858/ )The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released
Note If the issues persist even after enabling trace flag T9024, you can also enable trace flag T8048 which partitions the pointer to memory object at CPU level.
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.
If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites for SQL Server 2012To apply this hotfix, you must have SQL Server 2012 SP1 installed on the computer.
Restart requirementYou do not have to restart the computer after you apply this hotfix. SQL Server must be restarted with the trace flag T9024. For more information about how to configure SQL Server by using a startup trace flag see Database Engine Service Startup Options
File informationThe global hotfix version of this has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this imageExpand this image
Collapse this tableExpand this table
Collapse this imageExpand this image
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 2809338 - Last Review: July 27, 2015 - Revision: 10.0