Cumulative Update 12 for SQL Server 2016 SP2

Aplica-se a: SQL Server 2016 DeveloperSQL Server 2016 EnterpriseSQL Server 2016 Enterprise Core

This article describes Cumulative Update package 12 (CU12) (build number: 13.0.5698.0) for Microsoft SQL Server 2016 Service Pack 2 (SP2). This update contains fixes that were released after the initial release of SQL Server 2016 SP2.

Cumulative update

Cumulative updates (CU) are now available at the Microsoft Download Center.

Only the most recent CU that was released for SQL Server 2016 SP2 is available at the Download Center. Each new CU contains all the fixes that were included togetrher with the previous CU for the installed version or service pack of SQL Server.

  • Microsoft recommends ongoing, proactive installation of CUs as they become available:
    • SQL Server CUs are certified to the same levels as Service Packs, and should be installed at the same level of confidence.
    • Historical data shows that a significant number of support cases involve an issue that has already been addressed in a released CU.
    • CUs may contain added value over and above hotfixes. This includes supportability, manageability, and reliability updates.
  • Just as for SQL Server service packs, we recommend that you test CUs before you deploy them to production environments.
  • We recommend that you upgrade your SQL Server installation to the latest SQL Server 2016 service pack.

How to obtain this cumulative update package


The following update is available from the Microsoft Download Center:
 
If the download page does not appear, contact Microsoft Customer Service and Support to obtain the cumulative update package.

Note After future cumulative updates are released for SQL Server 2016, this CU can be located and downloaded from the Microsoft Windows Update Catalog. However, we recommend that you always install the latest cumulative update that is available.

Additional hotfixes that are included in this cumulative update package


VSTS bug number KB article number Description Fix area Platform
13275018 4480651 Improvement: Merge operation will consider the number of deleted rows in the rowgroup in SQL Server 2016 and 2017 SQL Engine All
13326775 4527510 FIX: User hierarchy is not hidden when you run DISCOVER_CSDL_METADATA in SQL Server Analysis Services Windows
13358372 4537350 FIX: Access violation occurs when you run DBCC CHECKTABLE against a table with Clustered Columnstore Index in SQL Server SQL Engine Windows
13335640 4538378 FIX: The "is_media_read_only" value remains unchanged for a SQL Server data file even though the media is no longer read-only SQL Engine Windows
13331373 4539815 FIX: Access violation occurs when change tracking auto cleanup tries to clean up side tables in SQL Server 2016 SQL Engine Windows
13294054 4539880 FIX: Access violation occurs with wait_info XEvent on busy SQL Server 2016 SQL performance Windows
13298018 4539892 FIX: Error occurs when you run a stored procedure from database A which pulls data from database B in SQL Server 2016 SQL performance Windows
13361172 4539897 FIX: Access violation may occur when you run XML query against a table that has a primary XML index in SQL Server 2016 SQL performance Windows
13184475 4539947 FIX: Assertion occurs when you run DATABASE SCOPED command in SQL Server 2016 SQL Engine Windows
13329385 4540107 FIX: System or background task may fail when number of sessions reaches the maximum limit in SQL Server 2016 SQL Engine Windows
13381812 4540342 FIX: Non-yielding scheduler condition occurs with CONNECTION_MANAGER spinlock in SQL Server 2016 SQL Engine Windows
13372511 4540346 FIX: MERGE statement fails with assert “Attempt to access expired blob handle (1)” in SQL Server 2016 SQL performance Windows
13367056 4540385 FIX: DAX query causes server to have exceptions in TBB heap and crash in Windows heap in SQL Server 2016 Analysis Services Windows
13372802 4540449 FIX: Error occurs in sp_xml_preparedocument where MSXMLSQL tries to access virtual address space beyond limit in SQL Server 2016, 2017 and 2019 XML All
13346757 4540731 FIX: Unexpected exception error occurs when you run DISCOVER_CSDL_METADATA in Power BI Desktop in SQL Server 2016 Analysis Services Windows
13333249 4540896 FIX: Access violation may occur when enumerating files in a FileTable in SQL Server SQL Engine Windows
13375360 4540901 FIX: SQL Server may terminate due to lock conflicts during error message processing in SQL Server 2016 SQL security Windows
13368730 4540903 FIX: Non-yielding scheduler dump occurs in InterlockedCompareExchangePointer and SOS_RWLock in SQL Server 2016 SQL Engine Windows
13249030 4541096 FIX: Access Violation occurs when you run query on computed columns in SQL Server 2016 SQL performance All
13358502 4541132 Improvement: Size and retention policy are increased in default XEvent trace system_health in SQL Server 2016 Analysis Services Windows
13293964 4541288 FIX: Non-yielding scheduler dumps occur when running a batch mode query with multiple joins in SQL Server 2016 SQL Engine Windows
13323647 4541300 FIX: Fix incorrect values in auto seeding XEvents in SQL Server 2016 High Availability Windows
13245644 4541303 FIX: Non-yielding Scheduler error may occur with Always On availability group in Microsoft SQL Server 2016 High Availability Windows
13215330 4541309 FIX: Missing log block may occur when you use Always On availability group in SQL Server 2016 High Availability Windows
13331676 4541385 FIX: Database initialization may fail by using automatic seeding in SQL Server 2016 High Availability Windows
13308278 4541435 FIX: Error occurs when you rename a column on temporal current table in SQL Server 2016 SQL Engine Windows
13273913 4541520 FIX: Assertion occurs when you process a malformed XML message sent as message in Service Broker queue in SQL Server 2016 SQL Engine Windows
13285484 4541724 FIX: Intermittent non-yielding scheduler event causes outage of Availability Groups in SQL Server 2016 In-Memory OLTP Windows
13368461 4541762 FIX: Management Data Warehouse Server Activity Collection Set may fail in SQL Server 2016 Management Tools Windows
13184966 4541769 FIX: Error occurs when running sp_updatestats on the table that has a clustered columnstore index and memory optimized index SQL Engine All
13325406 4541770 FIX: Assertion failure occurs when persistent log buffer is used in SQL Server 2016 SQL Engine Windows
13012856 4543027 FIX: Parallel sampled filtered statistics may cause incorrect histogram scaling in SQL Server 2016 SQL performance All

Notes for this update


Known Issue

Under certain circumstances, there is a known uninstall issue with this SQL Server 2016 SP2 CU12.  If you uninstall this CU, SQL server doesn’t come online and you find the following SQL Server error log message:

Mitigation is to enable Trace Flag - T902, then SQL server will come online and you are done. You don’t need to uninstall it again. To upgrade to new CU you need to remove this flag first.

SQL Server 2016 SP2 CU13 or any later CU release contains the fix. 

Hybrid environments deployment

When you deploy the hotfixes to a hybrid environment (such as AlwaysOn, replication, cluster, and mirroring), we recommend that you refer to the following articles before you deploy the update:
 

Cumulative update package information


Prerequisites

To apply this cumulative update package, you must be running SQL Server 2016 SP2.

Restart information

You may have to restart the computer after you apply this cumulative update package.

Registry information

To use one of the hotfixes in this package, you do not have to make any changes to the registry.