Skip to the content
The Update Bureau
SQL Server 2019 CU25 SQL Server 2019 CU25 Cumulative update

KB5033688

KB5033688: Cumulative update for SQL Server 2019, CU branch, February 2024. Availability databases return in SSMS; parallel SESSION_CONTEXT remains risky

In short

Fixes 14 issues in SQL Server 2019, including missing availability databases in SSMS. Queries using SESSION_CONTEXT can still return incorrect results or trigger access violations in parallel plans.

Does it affect you? Applies to: Instances running SQL Server 2019. The update package applies to installed SQL Server 2019 components and is multilingual.

Build
15.0.4355.3
Servicing branch
CU
Restart
Required
Review notes Additional details from the official release notes (3) Read notes
  • This page The SSMS display issue affected read-scale availability groups, not availability groups generally.
  • In short The SSMS display issue affected read-scale availability groups, not availability groups generally.
  • In detail The SSMS display issue affected read-scale availability groups, not availability groups generally.

The official sources are linked at the end of the page.

For servers on the CU branch: they install cumulative updates, which also bring fixes beyond security. Servers on the GDR branch (security fixes only) get a separate update. Which branch am I on?

What changes

Fixes 10 changes

Analysis Services

For: Windows SQL Server users

  • Processing additions no longer cause the described performance degradation, increased CPU use, and longer execution time.1
    Fixes performance degradation during execution of the ProcessAdd command.

Master Data Services

2 items

For: Windows SQL Server users

  • Recursive hierarchies can load all levels instead of failing to load some levels.2
    Fixes an issue that might prevent a recursive hierarchy from loading all levels.
  • Model upgrades no longer fail for the described inappropriate entity name.3
    Fixes model upgrade failures when an inappropriate entity name, such as "Entity", is set.

Backup Restore

For: Windows SQL Server users

  • A VSS restore using Restore with Move no longer restores the wrong file or fails when the .mdf file path ends with a space.4
    Fixes the Restore with Move behavior when the .mdf file path includes a trailing space.

DB Management

  • A cloned database is less likely to associate a database file with the wrong filegroup.5
    Fixes incorrect filegroup association in a clone database created by using DBCC CLONEDATABASE.

High Availability and Disaster Recovery

For: Windows SQL Server users

  • The Availability Databases folder in SSMS shows databases in read-scale availability groups again.6
    Fixes the sys.dm_hadr_database_replica_cluster_states issue affecting read-scale availability groups after SQL Server 2019 CU24 or later.

PolyBase

  • Creating or updating statistics no longer causes the described deadlock. Query plans or execution times might differ because query compilation is no longer blocked by statistics collection.7
    Fixes a deadlock by turning off the blocking Auto Stats feature, which is turned on when using PolyBase.

Replication

3 items
  • The Distributor agent in peer-to-peer replication no longer encounters the described truncation error when the conflicting table's column count changes.8
    Fixes the _$update_bitmap column size not updating with changes to the original conflicting table's column count.
  • Conflict detection and the Replication Merge Agent no longer encounter the described conversion error.9
    Fixes the error converting bigint to int when converting the generation to int.
  • After an in-place Publisher upgrade to SQL Server 2019, sp_helpsubscription returns results so you can reinitialize the subscription without the described error.10
    Fixes sp_helpsubscription returning no results after the in-place upgrade, which prevents subscription reinitialization.

Improvements 4 changes

High Availability and Disaster Recovery

For: Windows SQL Server users

  • Creating a read-scale availability group with a large number of databases is prevented to avoid a subsequent assertion failure.11
    Prevents creation of read-scale availability groups with a large number of databases to avoid the assertion failure at ucsconnectionsend.cpp:103.

Query Execution

  • A mitigation reduces the chance of an assertion failure during some complex queries using large-value data types; it does not apply in every situation.12
    Adds mitigation for the lobss.cpp:707 assertion failure when running a complex query that uses large value data types such as varchar(max).

SQL OS

For: Windows SQL Server users

  • Compressed memory dumps use I/O more efficiently, limit excessive file-cache growth, and can make better use of available CPU cores.13
    Adds FILE_FLAG_NO_BUFFERING and dynamic auto-tuning parallelism to the compressed memory dump feature.

Storage Management

  • The error 824 message includes a link to help with troubleshooting.14
    Adds a link to MSSQLSERVER_824 for error 824.

Known issues

  1. Open Affects: Everyone

    Incorrect behavior of SESSION_CONTEXT in parallel plans

    Queries using SESSION_CONTEXT might return incorrect results or trigger access violation dump files when run in parallel query plans, particularly if the session is reset for reuse.15

    Workaround status No workaround yet

    Microsoft has not published a manual workaround for this issue yet. Monitor release health until a resolving update is available.

Technical details

Data sheet · Security · Downloads · Components Click to collapse or expand

Data sheet

Released
2024-02-15
Classification
Updates
Type
Cumulative update
Servicing branch
CU
Restart
Required
Replaced by
KB5036335
VersionBuildChannel
2019 15.0.4355.3 General availability

Security

No vulnerabilities are listed for this update.

Downloads (Microsoft Update Catalog)

Sources

Updated
Cited passages from Microsoft's official notes (15)
  1. 1. Fixes a performance degradation that might be encountered during the execution of the ProcessAdd command, which causes an increase in CPU usage and execution time. support.microsoft.com
  2. 2. Fixes an issue that might cause a recursive hierarchy to fail to load all levels. support.microsoft.com
  3. 3. Fixes an issue in which an upgrade process in Master Data Services models might fail if you set an inappropriate entity name such as "Entity". support.microsoft.com
  4. 4. Fixes an issue in which a Volume Shadow Copy Service (VSS) restore process with the Restore with Move feature might restore an incorrect file or fail if the file path for the .mdf file includes a trailing space. support.microsoft.com
  5. 5. Fixes an issue that might cause the database file to be associated with an incorrect filegroup in the clone database created by using DBCC CLONEDATABASE. support.microsoft.com
  6. 6. Fixes an issue that you encounter in sys.dm_hadr_database_replica_cluster_states for read-scale availability groups after you install SQL Server 2019 CU24 or later versions support.microsoft.com
  7. 7. Fixes a deadlock issue that you encounter when creating or updating statistics by turning off the blocking Auto Stats feature. support.microsoft.com
  8. 8. Fixes an issue in which the size of the _$update_bitmap column of dbo.conflict_<owner>_<table> doesn't get updated with changes in the number of columns of the original conflicting table support.microsoft.com
  9. 9. Fixes the following error that you encounter in conflict detection and in the Replication Merge Agent when converting the generation to int: Error converting data type bigint to int. support.microsoft.com
  10. 10. Fixes an issue in which the sp_helpsubscription stored procedure doesn't return any results after an in-place upgrade of the Publisher instance to SQL Server 2019 support.microsoft.com
  11. 11. Prevents the creation of read-scale availability groups that have a large number of databases to avoid the subsequent assertion failure support.microsoft.com
  12. 12. Adds mitigation to avoid an assertion failure (Location: lobss.cpp:707; Expression: 'FALSE' Lob not found for read) that you might encounter when you run a complex query that uses large value data types such as varchar(max). support.microsoft.com
  13. 13. Adds the dynamic auto-tuning parallelism to the feature to take advantage of the available CPU cores. support.microsoft.com
  14. 14. Adds a link to error 824 to improve the troubleshooting experience. support.microsoft.com
  15. 15. Queries that use the built-in SESSION_CONTEXT function might return incorrect results or trigger access violation (AV) dump files when run in parallel query plans. support.microsoft.com
Checked automatically: 8 of 8 checks passed, 15 quoted passages · compared with Microsoft's page on Oct 20, 2026
  • Quotes found in the official pages: passed
  • Numbers found in the sources: passed
  • Vulnerabilities from the dossier only: passed
  • Links to allowed domains only: passed
  • Every official change covered: passed
  • Readable plain text: passed
  • Changes confirmed by the file list: passed
  • Sources agree: passed

A second AI read the text against the sources: correctness 4/5, clarity 4/5, completeness 5/5. How we work

Published by The Update Bureau. Written with AI from Microsoft's own documents, checked by rules and a second AI. How we work · Report a mistake