Skip to content

Commit 253a464

Browse files
Merge pull request #31170 from thesqlsith/patch-2
Update parameter-sensitive-plan-optimization.md
2 parents 8a2e8c0 + 1664824 commit 253a464

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-ver16||>=sql-server-linux-ver16
1616
---
1717
# Parameter Sensitive Plan optimization
1818

19-
[!INCLUDE [sqlserver2022-and-later](../../includes/applies-to-version/sqlserver2022-and-later.md)], [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)]
19+
[!INCLUDE [sqlserver2022-and-later](../../includes/applies-to-version/sqlserver2022-and-later.md)], [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)], [!INCLUDE [ssazuremi-md](../../includes/ssazuremi-md.md)]
2020

2121
Parameter Sensitive Plan (PSP) optimization is part of the [Intelligent query processing](intelligent-query-processing.md) family of features. It addresses the scenario where a single cached plan for a parameterized query isn't optimal for all possible incoming parameter values. This is the case with non-uniform data distributions. For more information, see [Parameter Sensitivity](../query-processing-architecture-guide.md#parameter-sensitivity) and [Parameters and Execution Plan Reuse](../query-processing-architecture-guide.md#parameters-and-execution-plan-reuse).
2222

@@ -283,7 +283,7 @@ PSP with query hints and plan forcing behavior can be summarized in the followin
283283
The following query shows all of the possible reasons why PSP was skipped:
284284

285285
```sql
286-
SELECT name, map_value FROM sys.dm_xe_map_values WHERE name ='psp_skipped_reason_enum' ORDER BY map_key;
286+
SELECT map_value FROM sys.dm_xe_map_values WHERE [name] ='psp_skipped_reason_enum' ORDER BY map_key;
287287
```
288288

289289
- `parameter_sensitive_plan_optimization`: Occurs when a query uses PSP optimization feature. Debug channel only. Some fields of interest might be:

0 commit comments

Comments
 (0)