The post SQL Server 2017 CU17 Released appeared first on Glenn Berry.
]]>Microsoft has fixed hundreds of bugs since SQL Server 2017 RTM, and they have also added a significant number of product improvements and new features since the RTM release. I’ve already updated my blog post that highlights the more important hotfixes (in my opinion) for each SQL Server 2017 CU that has been released.
Performance and Stability Fixes in SQL Server 2017 CU Builds
You really are better off trying to stay as current as possible on your SQL Server builds. I still believe this despite some recent problems Microsoft has had with SQL Server Cumulative Updates.
Here is Microsoft’s official guidance:
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.
The post SQL Server 2017 CU17 Released appeared first on Glenn Berry.
]]>The post SQL Server 2016 SP2 CU9 Released appeared first on Glenn Berry.
]]>Microsoft has now released SQL Server 2016 SP2 CU10 as a replacement for SP2 CU9 (and they have removed SP2 CU9 from the build list). This happened not because of any problems with the actual SP2 CU9 payload (the binaries), but because of a problem if you tried to uninstall SP2 CU9. Here is the Microsoft statement about the issue:
SQL Server 2016 SP2 CU10 is a replacement for SQL Server 2016 SP2 CU9. CU9 had an uninstall issue that is resolved in the CU10 package. If you previously installed CU9, we recommend that you install CU10.
In my experience, it is not that common to want to (or have to) uninstall a SQL Server CU, but it does occasionally happen. Even so, the uninstall process should work as advertised, and it is unfortunate that this issue wasn’t caught before it was released.
Original Post:
Microsoft has released SQL Server 2016 SP2 CU9, which is Build 13.0.5470.0. This cumulative update has 21 public hotfixes. Keep in mind that both the SQL Server 2016 RTM and SQL Server 2016 SP1 branches are out of support, so there won’t be any more cumulative updates for those branches.
This is one of the more interesting fixes:
If you haven’t done it already, you should be making plans to get on the SP2 branch of SQL Server 2016. The Microsoft SQL Server 2016 build versions list is here.
The post SQL Server 2016 SP2 CU9 Released appeared first on Glenn Berry.
]]>The post Performance and Stability Related Fixes in Post-SQL Server 2014 SP3 Builds appeared first on Glenn Berry.
]]>If you are running on the SQL Server 2014 SP3 branch, I really think you should be running the latest SQL Server 2014 SP3 Cumulative Update.
Table 1 shows the SQL Server 2014 SP3 CU builds that have been released.
| Build | Description | Release Date |
| 12.0.6205 | SP3 CU1 | December 12, 2018 |
| 12.0.6214 | SP3 CU2 | February 19, 2019 |
| 12.0.6259 | SP3 CU3 | April 16, 2019 |
| 12.0.6329 | SP3 CU4 | July 29, 2019 |
Table 1: SQL Server 2014 SP3 CU Builds
You can follow the KB article link below to see all of the CU builds for the SQL Server 2014 RTM, SQL Server 2014 SP1, SQL Server 2014 SP2, and SQL Server 2014 SP3 branches.
Like I have done for other versions and branches of SQL Server, I decided to scan the hotfix list for all of the Cumulative Updates in the SP3 branch, looking for performance and general reliability-related fixes for the SQL Server Database Engine. I came up with the list below, but this listing is completely arbitrary on my part. You may come up with a completely different list, based on what specific SQL Server 2014 features you are using.
Here are the fixes in the SP3 branch:
SQL Server 2014 SP3 Cumulative Update 1 (Build 12.0.6205), 13 total public hot fixes
FIX: Access violation when you run a query that uses the XML data type in SQL Server 2014
FIX: Overestimations when using default Cardinality Estimator to query table with many null values
FIX: I/O errors on a BPE file causes buffer time out in SQL Server
FIX: Assertion error occurs during restore of compressed backups in SQL Server 2016
FIX: Internal error messages when you update a FILESTREAM tombstone system table in SQL Server
SQL Server 2014 SP3 Cumulative Update 2 (Build 12.0.6214), 5 total public hot fixes
FIX: High CPU use when large index is used in a query on a memory-optimized table in SQL Server
FIX: Assertion occurs when a parallel query deletes from a Filestream table
SQL Server 2014 SP3 Cumulative Update 3 (Build 12.0.6259), 4 total public hot fixes
FIX: Log reader agent may fail after AG failover with TF 1448 enabled in SQL Server 2014
SQL Server 2014 SP3 Cumulative Update 4 (Build 12.0.6329), 19 total public hot fixes
FIX: Filtered index may be corrupted when you rebuild index in parallel in SQL Server 2014 and 2016
FIX: Stack Dump occurs in the change tracking cleanup process in SQL Server 2014, 2016 and 2017
FIX: Tlog grows quickly when you run auto cleanup procedure in SQL Server 2014, 2016 and 2017
FIX: Full-text search fails to remove files from \FTDATA\FilterData subfolder in SQL Server 2014
FIX: SQL batch performance drops when you enable “Force Encryption” in SQL Server 2014
FIX: Full text search auto populate stops when Availability Group goes offline in SQL Server 2014
FIX: Error 409 occurs when you back up databases by using BackuptoURL
The reason that I put these lists together is that I want to convince more people to try to keep their SQL Server instances up to date with Cumulative Updates. If you do the proper testing, planning and preparation, I think the risks from installing a SQL Server Cumulative Update are quite low (despite the occasional issues that people run into).
If you install a Cumulative Update or Service Pack on a Production system the day it is released, after doing no testing whatsoever, and then run into problems (and don’t have a plan on how to recover), then I don’t have that much sympathy for you.
On the other hand, if you go through a thoughtful and thorough testing process, and you have a plan for how you will install the CU, and how you would recover if there were any problems, then you are much less likely to have any problems. You are also much more likely to avoid the issues that are fixed by all of the included fixes in the new build of SQL Server. You have done your job as a good DBA.
Finally, Microsoft has changed their official guidance about whether you should install SQL Server Cumulative Updates. As they say, “we now recommend ongoing, proactive installation of CU’s as they become available”.
The post Performance and Stability Related Fixes in Post-SQL Server 2014 SP3 Builds appeared first on Glenn Berry.
]]>The post SQL Server 2014 Service Pack 3 CU1 Released appeared first on Glenn Berry.
]]>Microsoft also released SQL Server 2014 Service Pack 2 CU15 on the same day. It is Build 12.0.5605.1, and it has 7 hotfixes in the public fix list. If you are on the SP2 or an even earlier branch, you should be thinking about getting on SP3 as soon as you can.
The post SQL Server 2014 Service Pack 3 CU1 Released appeared first on Glenn Berry.
]]>The post SQL Server 2016 SP2 CU2 Available appeared first on Glenn Berry.
]]>Microsoft has also released SQL Server 2016 SP1 CU10, which is Build 13.0.4514.0. There are also 21 fixes in the public fix list, including a number of fixes in the High Availability and SQL Engine fix areas. I think you should be on The SQL Server 2016 SP2 branch by now, or as soon as possible, but the SP1 branch is still supported.
I want to convince more people to try to keep their SQL Server instances up to date with Cumulative Updates. If you do the proper testing, planning and preparation, I think the risks from installing a SQL Server Cumulative Update are quite low (despite the occasional issues that people run into).
If you install a Cumulative Update or Service Pack on a Production system the day it is released, after doing no testing whatsoever, and then run into problems (and don’t have a plan on how to recover), then I don’t have that much sympathy for you.
On the other hand, if you go through a thoughtful and thorough testing process, and you have a plan for how you will install the CU, and how you would recover if there were any problems, then you are much less likely to have any problems. You are also much more likely to avoid the issues that are fixed by all of the included fixes in the new build of SQL Server. You have done your job as a good DBA.
Finally, Microsoft has changed their official guidance about whether you should install SQL Server Cumulative Updates. As they say, “we now recommend ongoing, proactive installation of CU’s as they become available”.
The post SQL Server 2016 SP2 CU2 Available appeared first on Glenn Berry.
]]>The post Performance and Stability Related Fixes in Post-SQL Server 2016 SP2 Builds appeared first on Glenn Berry.
]]>Table 1 shows the SQL Server 2016 SP2 CU builds that have been released so far:
| Build | Description | Release Date |
| 13.0.5149 | SP2 CU1 | May 30, 2018 |
| 13.0.5153 | SP2 CU2 | July 16, 2018 |
| 13.0.5216 | SP2 CU3 | September 20, 2018 |
| 13.0.5233 | SP2 CU4 | November 13, 2018 |
| 13.0.5264 | SP2 CU5 | January 23, 2019 |
| 13.0.5292 | SP2 CU6 | March 19, 2019 |
| 13.0.5337 | SP2 CU7 | May 22, 2019 |
| 13.0.5426 | SP2 CU8 | July 31, 2019 |
| 13.0.5492 | SP2 CU10 | October 8, 2019 |
| 13.0.5598 | SP2 CU11 | December 9, 2019 |
Table 1: SQL Server 2016 SP2 CU Builds
You can follow the KB article link below to see all of the CU builds for the SQL Server 2016 RTM, SQL Server 2016 SP1 and SQL Server 2016 SP2 branches.
Like I have done for other versions and branches of SQL Server, I decided to scan the hotfix list for all of the Cumulative Updates in the SP2 branch, looking for performance and general reliability-related fixes for the SQL Server Database Engine. I came up with the list below, but this listing is completely arbitrary on my part. You may come up with a completely different list, based on what specific SQL Server 2016 features you are using.
Here are the fixes in the SP2 branch:
SQL Server 2016 SP2 Cumulative Update 1 (Build 13.0.5149), 29 total public hot fixes
PFS page round robin algorithm improvement in SQL Server 2016
FIX: TDE enabled database backup with compression causes database corruption in SQL Server 2016
FIX: Restore of a TDE compressed backup is unsuccessful when using the VDI client
FIX: Performance is slow for an Always On AG when you process a read query in SQL Server
FIX: Database cannot be dropped after its storage is disconnected and reconnected in SQL Server
SQL Server 2016 SP2 Cumulative Update 2 (Build 13.0.5153), 21 total public hot fixes
FIX: Parallel redo does not work after you disable Trace Flag 3459 in an instance of SQL Server
FIX: Slow performance of SQL Server 2016 when Query Store is enabled
Transparent Data Encryption added for Log Shipping in SQL Server
FIX: VSS backup fails in secondary replica of Basic Availability Groups in SQL Server 2016
FIX: TDE enabled database backup with compression causes database corruption in SQL Server
FIX: Error 19432 when you use Always On Availability Groups in SQL Server
SQL Server 2016 SP2 Cumulative Update 3 (Build 13.0.5216), 28 total public hot fixes
FIX: Leakage of sensitive data occurs when you enable DDM function in SQL Server 2016 and 2017
FIX: Out of memory error occurs even when there are many free pages in SQL Server
FIX: A memory leak occurs in sqlwepxxx.dll causes the WmiPrvSe.exe process to crash
FIX: Assertion error occurs when you use sys.dm_exec_query_statistics_xml in SQL Server 2016
FIX: The SQL Service shuts down after SP2 is installed on SQL Server 2016 with c2 audit mode enabled
Update adds lightweight query profiling hint in SQL Server 2016
FIX: Error 41317 when you enable server audit and you use in-memory transactions in SQL Server
FIX: Upgrading SP1 instance fails when you use SxS instances of SQL Server 2016 SP1 and SP2
SQL Server 2016 SP2 Cumulative Update 4 (Build 13.0.5233), 36 total public hot fixes
FIX: Access violation occurs when SQL Server 2016 tries to start Query Store Manager during startup
FIX: Overestimations when using default Cardinality Estimator to query table with many null values
FIX: Access violation occurs in compile code when you parse the forced plan in SQL Server 2017
FIX: Assertion error occurs when you run a MERGE statement with an OUTPUT clause in SQL Server 2017
FIX: Assertion error occurs when you restart the SQL Server 2016 database
FIX: Access violation occurs in Distribution Agent in SQL Server 2017
FIX: Assertion occurs when you use parallel redo in a secondary replica of SQL Server 2016 AG
FIX: DefaultLanguage.LCID property changes for partially contained In-Memory OLTP database
FIX: Assertion error occurs during restoration of TDE compressed backups in SQL Server 2016
FIX: Access violation when you run a granular audit policy for DML in SQL Server
SQL Server 2016 SP2 Cumulative Update 5 (Build 13.0.5264), 43 total public hot fixes
FIX: I/O error on a BPE file causes buffer time-out in SQL Server
FIX: SQL Server installation fails if one of the remote nodes is unreachable in a cluster
FIX: High CPU usage when there are many batch requests in SQL Server 2016
FIX: Server crashes when you cancel DBCC CHECKDB against a large database in SQL Server 2016
FIX: ObjectPropertyEx returns incorrect row count when there are partitions in a database object
SQL Server 2016 SP2 Cumulative Update 6 (Build 13.0.5292), 26 total public hot fixes
FIX: SQL Writer Service can cause undetected deadlocks on system DMV when you do a VSS backup
FIX: Error 10314 occurs when you load .NET CLR assembly in SQL Server 2016 database
FIX: Stack Dump occurs in the change tracking cleanup process in SQL Server 2016
FIX: Automatic seeding assertions when databases are removed from AG in SQL Server 2016
SQL Server 2016 SP2 Cumulative Update 7 (Build 13.0.5337), 27 total public hot fixes
FIX: Filtered index may be corrupted when you rebuild index in parallel in SQL Server 2014 and 2016
FIX: Assertion error occurs when you use sys.dm_exec_query_statistics_xml in SQL Server 2016
FIX: Indirect checkpoints on tempdb database cause “Non-yielding scheduler” error in SQL Server 2016
FIX: Log reader agent may fail after AG failover with TF 1448 enabled in SQL Server 2014 and 2016
FIX: Tlog grows quickly when you run auto cleanup procedure in SQL Server 2016
FIX: AG is suspended when cross-database transaction is applied on AG databases in SQL Server 2016
FIX: Access violation occurs when you run sys.fn_dump_dblog function in SQL Server 2016
SQL Server 2016 SP2 Cumulative Update 8 (Build 13.0.5427), 28 total public hot fixes
FIX: Peer-to-peer replication fails in SQL Server 2016 if the host name is not uppercase
FIX: “No valid credentials provided” occurs after you restart PolyBase in SQL Server 2016 and 2017
FIX: Assertion dump occurs when you select a view on a linked server in SQL Server 2016 and 2017
Improvement: Allow altering external data source in APS in SQL Server 2016
FIX: Concurrent Inserts into a CCI can cause deadlock under memory pressure in SQL Server 2016
FIX: DBCC SHOW_STATISTICS permission check fails with an AV error in SQL Server 2016 and 2017
FIX: Filled transaction log causes outages when you run Query Store in SQL Server 2016 and 2017
FIX: Memory dumps generate when access violation occurs in SQL Server 2016
FIX: Error 409 occurs when you back up databases by using BackuptoURL
FIX: Restore or RESTORE VERIFYONLY of a TDE-compressed backup fails in SQL Server 2016 and 2017
SQL Server 2016 SP2 Cumulative Update 10 (Build 13.0.5492), 21 total public hot fixes
FIX: Transaction log isn‘t truncated on a single node Availability Group in SQL Server 2016
FIX: Orphaned CLR sessions cause blocking in SQL Server 2016
FIX: Access violation occurs when you run queries that involve PIVOT or UNPIVOT in SQL Server 2016
FIX: Stack dump occurs when table type has a user-defined constraint in SQL Server 2016
FIX: SQL Writer Service fails to back up in non-component backup path in SQL Server 2016
FIX: Access violation occurs when a clone database verification fails in SQL Server 2016
FIX: SQL Server 2016 database remains in frozen I/O state indefinitely when backed up by VSS
SQL Server 2016 SP2 Cumulative Update 11 (Build 13.0.5492), 26 total public hot fixes
FIX: Error 41168 occurs when you try to alter DAG SEEDING_MODE in SQL Server 2016 and 2017
FIX: Self-deadlock occurs when transaction auditing is enabled in SQL Server 2016 and 2017
FIX: Exception error 3628 may occur when you execute stored procedure in SQL Server 2016 and 2017
FIX: Database cannot recover and reports error 5243 in SQL Server 2016 and 2017
FIX: DBCC CHECKDB with EXTENDED_LOGICAL_CHECKS fails on a table in SQL Server 2016
FIX: Unable to restore SQL Server 2012 databases on SQL Server 2016 because of NCCI
FIX: Access violation occurs when you use sys.dm_os_memory_objects in SQL Server 2016 and 2017
FIX: Error 8601 occurs when you run a query with partition function in SQL Server
The reason that I put these lists together is that I want to convince more people to try to keep their SQL Server instances up to date with Cumulative Updates. If you do the proper testing, planning and preparation, I think the risks from installing a SQL Server Cumulative Update are quite low (despite the occasional issues that people run into).
If you install a Cumulative Update or Service Pack on a Production system the day it is released, after doing no testing whatsoever, and then run into problems (and don’t have a plan on how to recover), then I don’t have that much sympathy for you.
On the other hand, if you go through a thoughtful and thorough testing process, and you have a plan for how you will install the CU, and how you would recover if there were any problems, then you are much less likely to have any problems. You are also much more likely to avoid the issues that are fixed by all of the included fixes in the new build of SQL Server. You have done your job as a good DBA.
Finally, Microsoft has changed their official guidance about whether you should install SQL Server Cumulative Updates. As they say, “we now recommend ongoing, proactive installation of CU’s as they become available”.
The post Performance and Stability Related Fixes in Post-SQL Server 2016 SP2 Builds appeared first on Glenn Berry.
]]>The post SQL Server 2017 Cumulative Update 6 appeared first on Glenn Berry.
]]>Remember, there are not going to be any Service Packs for SQL Server 2017. We are still in the monthly release cycle for SQL Server 2017 Cumulative Updates which will last for the first year after release. After that the CU release cycle will change to quarterly until SQL Server 2017 falls out of Mainstream Support on October 11, 2022.
As always, my recommendation is to try to stay as current as possible with your SQL Server Cumulative Updates. That doesn’t mean that you should deploy them to Production the day they are released, with absolutely no testing, but it also doesn’t mean that you should not make any effort to stay current. Try to find a deployment cadence that makes sense for your organization.
The post SQL Server 2017 Cumulative Update 6 appeared first on Glenn Berry.
]]>The post SQL Server 2017 Cumulative Update 5 appeared first on Glenn Berry.
]]>There are quite a few fixes for performance and the database engine area in this CU. Remember, there are not going to be any Service Packs for SQL Server 2017, so you are going to want to test and deploy SQL Server 2017 Cumulative Updates as they become available.
As always, I think it is a good idea to make an effort to stay current on Cumulative Updates, as does Microsoft.
The post SQL Server 2017 Cumulative Update 5 appeared first on Glenn Berry.
]]>The post SQL Server 2017 Cumulative Update 4 appeared first on Glenn Berry.
]]>There are also quite a few updates for Columnstore indexes and for Availability Groups. Remember, there are not going to be any Service Packs for SQL Server 2017, so you are going to want to test and deploy SQL Server 2017 Cumulative Updates as they become available.
As always, I think it is a good idea to make an effort to stay current on Cumulative Updates, as does Microsoft.
The post SQL Server 2017 Cumulative Update 4 appeared first on Glenn Berry.
]]>The post SQL Server 2017 CU3 Released on January 4, 2018 appeared first on Glenn Berry.
]]>In addition, Microsoft has included the security fixes from the January 3 SQL Server security update in this Cumulative Update. Microsoft has very detailed guidance on how this may affect SQL Server here. One important item to note is that SQL Server 2017 CU3 may have been offered and deployed as an important update by Microsoft Update, depending on how your Microsoft Update settings are configured or whether you are using WSUS.
Since SQL Server 2017 won’t be using Service Packs as part of its servicing mechanism, you will need to start testing and deploying Cumulative Updates on a schedule that makes sense for your organization.
As always, I think it is a good idea to make an effort to stay current on Cumulative Updates, as does Microsoft.
The post SQL Server 2017 CU3 Released on January 4, 2018 appeared first on Glenn Berry.
]]>