Skip to content

Commit b4f5890

Browse files
authored
Merge pull request #36603 from thesqlsith/2026-02-11-releasenotes-update-derekw
Release notes update SQL Server 2025
1 parent c1c2934 commit b4f5890

2 files changed

Lines changed: 9 additions & 41 deletions

File tree

docs/relational-databases/performance/parameter-sensitive-plan-optimization.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about Parameter Sensitive Plan Optimization in the Query Stor
44
author: MikeRayMSFT
55
ms.author: mikeray
66
ms.reviewer: derekw, maghan, randolphwest, wiassaf
7-
ms.date: 10/23/2025
7+
ms.date: 02/11/2026
88
ms.service: sql
99
ms.subservice: performance
1010
ms.topic: concept-article
@@ -332,30 +332,25 @@ PSP optimization provides audit data for the dispatcher plan statement, and any
332332

333333
| Issue | Date discovered | Status | Date resolved |
334334
| --- | --- | --- | --- |
335-
| Access Violation exception occurs in Query Store in [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] under certain conditions. You might encounter Access violation exceptions when PSP optimization Query Store integration is enabled. For more information, see the update in [Parameter Sensitive Plan Optimization, Why?](https://techcommunity.microsoft.com/blog/sqlserver/parameter-sensitive-plan-optimization-why/3836281) | March 2023 | Resolved | August 2023 (CU 7) |
336-
| Access violation exception can occur on readable secondary replicas under certain conditions in [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)]. You might encounter access violation exceptions when PSP optimization is enabled on a readable secondary database that has been configured to use the [Query Store for readable secondary replicas](query-store-for-secondary-replicas.md) feature. | September 2025 | Has workaround | |
335+
| Access Violation exception occurs in Query Store in [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] under certain conditions. You might encounter Access violation exceptions when PSP optimization Query Store integration is enabled. For more information, see the update in [Parameter Sensitive Plan Optimization, Why?](https://techcommunity.microsoft.com/blog/sqlserver/parameter-sensitive-plan-optimization-why/3836281) | March 2023 | Resolved | August 2023 (SQL Server 2022 CU 7) |
336+
| Access violation exception can occur on readable secondary replicas under certain conditions in [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)]. You might encounter access violation exceptions when PSP optimization is enabled on a readable secondary database that has been configured to use the [Query Store for readable secondary replicas](query-store-for-secondary-replicas.md) feature. | September 2025 | Resolved | January 2026 (SQL Server 2025 CU 1) |
337337

338-
### Has workaround
338+
### Resolved
339339

340340
#### Access violation exception can occur on readable secondary replicas under certain conditions
341341

342+
(Resolved in January 2026)
343+
342344
Queries that meet the following conditions could experience an access violation when a parameter sensitive plan (PSP) [query variant](#query-variant) can't determine the persisted state of its parent dispatcher statement:
343345

344346
- Executed on a secondary replica
345347
- Sensitive to parameter sniffing
346348
- Eligible for parameter sensitive plan (PSP) optimization
347349

348-
**Workaround**: Disable parameter sensitive plan (PSP) optimization on secondary replicas for each database that was onboarded to use the Query Store for readable secondary replicas feature. From within the context of a specific database, issue the following Transact-SQL statement:
349-
350-
```sql
351-
ALTER DATABASE SCOPED CONFIGURATION FOR SECONDARY
352-
SET PARAMETER_SENSITIVE_PLAN_OPTIMIZATION = OFF;
353-
```
354-
355-
### Resolved
356-
357350
#### Access violation exception occurs in Query Store in SQL Server 2022 under certain conditions
358351

352+
(Resolved in March 2023)
353+
359354
> [!NOTE]
360355
> [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] [Cumulative Update 7](/troubleshoot/sql/releases/sqlserver-2022/cumulativeupdate7) released several fixes for a race condition that can lead to an access violation.
361356

docs/sql-server/sql-server-2025-known-issues.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Known issues, causes, and workarounds for SQL Server 2025 (17.x), c
44
author: MikeRayMSFT
55
ms.author: mikeray
66
ms.reviewer: randolphwest
7-
ms.date: 12/17/2025
7+
ms.date: 02/11/2026
88
ms.service: sql
99
ms.subservice: release-landing
1010
ms.topic: troubleshooting-known-issue
@@ -31,7 +31,6 @@ The following issues are currently identified:
3131
- [Issue when setting the backup compression algorithm to ZSTD](#issue-when-setting-the-backup-compression-algorithm-to-zstd)
3232
- [Local ONNX models not supported on Linux operating systems](#local-onnx-models-not-supported-on-linux-operating-systems)
3333
- [PBKDF2 hashing algorithm can affect login performance](#pbkdf2-hashing-algorithm-can-affect-login-performance)
34-
- [Access violation exception can occur on readable secondary replicas under certain conditions](#access-violation-exception-can-occur-on-readable-secondary-replicas-under-certain-conditions)
3534
- [Vector index](#vector-index)
3635
- [SQL Server audit events don't write to the Security log](#sql-server-audit-events-dont-write-to-the-security-log)
3736
- [Upgrade fails if Data Quality Services is installed](#upgrade-fails-if-data-quality-services-is-installed)
@@ -127,32 +126,6 @@ In [!INCLUDE [sssql25-md](../includes/sssql25-md.md)], password-based authentica
127126

128127
For more information, see [CREATE LOGIN](../t-sql/statements/create-login-transact-sql.md) and [Support for Iterated and Salted Hash Password Verifiers in SQL Server 2022 CU12](https://techcommunity.microsoft.com/blog/azuresqlblog/support-for-iterated-and-salted-hash-password-verifiers-in-sql-server-2022-cu12/4087155).
129128

130-
## Access violation exception can occur on readable secondary replicas under certain conditions
131-
132-
Consider a database enabled to use the [Query Store for readable secondaries](../relational-databases/performance/query-store-for-secondary-replicas.md) feature, using the following data definitional language (DDL) command:
133-
134-
```sql
135-
ALTER DATABASE [Database_Name]
136-
FOR SECONDARY
137-
SET QUERY_STORE = ON
138-
(OPERATION_MODE = READ_WRITE);
139-
```
140-
141-
Queries that meet the following conditions might experience an access violation when a PSP [query variant](../relational-databases/performance/parameter-sensitive-plan-optimization.md#query-variant) can't determine the persisted state of its parent dispatcher statement:
142-
143-
- Executed on a secondary replica
144-
- Sensitive to parameter sniffing
145-
- Eligible for parameter sensitive plan (PSP) optimization
146-
147-
We have identified a fix for a future release of [!INCLUDE [sssql25-md](../includes/sssql25-md.md)].
148-
149-
**Workaround**: Disable PSP on secondaries for each database that was onboarded to use the Query Store for readable secondaries feature. From within the context of a specific database, issue the following Transact-SQL statement:
150-
151-
```sql
152-
ALTER DATABASE SCOPED CONFIGURATION FOR SECONDARY
153-
SET PARAMETER_SENSITIVE_PLAN_OPTIMIZATION = OFF;
154-
```
155-
156129
## SQL Server audit events don't write to the Security log
157130

158131
Assume that you configured multiple [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] audit events to write to the [!INCLUDE [sssql25-md](../includes/sssql25-md.md)] Security log. In this scenario, you notice that all server audits, except the first server audit, don't write. Additionally, when you add the second server audit, you might receive an error that resembles the following message in the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] error log:

0 commit comments

Comments
 (0)