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.
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.
- 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.
- SQL Server 2014 Service Pack 1 (SP1) includes this fix, and you do not have to enable the trace flag.
SQL Server 2012Note SQL Server 2012 Service Pack 3 (SP3) includes this fix, and you don't have to enable the trace flag.
Cumulative update information
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:
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: Note 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.
|File name||File version||File size||Date||Time||Platform|
รหัสบทความ: 2809338 - การตรวจสอบครั้งสุดท้าย: 3 ธ.ค. 2015 - ฉบับแก้ไข: 1