Skip to content

Commit 900daea

Browse files
thesqlsithrwestMSFT
andcommitted
Update docs/relational-databases/performance/intelligent-query-processing.md
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
1 parent e9abfb6 commit 900daea

3 files changed

Lines changed: 92 additions & 58 deletions

File tree

docs/relational-databases/performance/intelligent-query-processing.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description: Intelligent query processing features to improve query performance
44
author: MikeRayMSFT
55
ms.author: mikeray
66
ms.reviewer: derekw, randolphwest
7-
ms.date: 11/18/2025
7+
ms.date: 01/07/2026
88
ms.service: sql
99
ms.subservice: performance
10-
ms.topic: article
10+
ms.topic: concept-article
1111
ms.custom:
1212
- ignite-2025
1313
monikerRange: "=azuresqldb-current || >=sql-server-2016 || >=sql-server-linux-2017 || =azuresqldb-mi-current || =fabric-sqldb"
@@ -44,8 +44,8 @@ The following table details all intelligent query processing features, along wit
4444

4545
| IQP Feature | Supported in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] | Supported in [!INCLUDE [sssql25-md](../../includes/sssql25-md.md)] | Description |
4646
| --- | --- | --- | --- |
47-
| [Optional parameter plan optimization (OPPO)](optional-parameter-optimization.md) | No | Yes, starting with [!INCLUDE [sql-server-2025](../../includes/sssql25-md.md)] with compatibility level 170 | Leverages the adaptive plan optimization (Multiplan) infrastructure that was introduced with the Parameter Sensitive Plan Optimization (PSPO) improvement, which generates multiple plans from a single statement. The feature can choose a more optimal plan at runtime based on whether a parameter is `NULL OR NOT NULL`, which improves performance for queries that could otherwise default to suboptimal performance for such query patterns. |
48-
| [Cardinality estimation (CE) feedback for expressions](intelligent-query-processing-ce-feedback-for-expressions.md) | No | Yes, starting with [!INCLUDE [sql-server-2025](../../includes/sssql25-md.md)] with compatibility level 160 | Extends CE feedback to improve cardinality estimates for repeating expressions across queries by learning from previous executions and automatically applying appropriate CE model choices to future executions of those expressions |
47+
| [Optional parameter plan optimization (OPPO)](optional-parameter-optimization.md) | Yes, starting with database compatibility level 170 | Yes, starting with [!INCLUDE [sql-server-2025](../../includes/sssql25-md.md)] with database compatibility level 170 | Leverages the adaptive plan optimization (Multiplan) infrastructure that was introduced with the Parameter Sensitive Plan Optimization (PSPO) improvement, which generates multiple plans from a single statement. The feature can choose a more optimal plan at runtime based on whether a parameter is `NULL OR NOT NULL`, which improves performance for queries that could otherwise default to suboptimal performance for such query patterns. |
48+
| [Cardinality estimation (CE) feedback for expressions](intelligent-query-processing-ce-feedback-for-expressions.md) | Yes, starting with database compatibility level 170 | Yes, starting with [!INCLUDE [sql-server-2025](../../includes/sssql25-md.md)] with database compatibility level 160 | Extends CE feedback to improve cardinality estimates for repeating expressions across queries by learning from previous executions and automatically applying appropriate CE model choices to future executions of those expressions. |
4949
| [OPTIMIZED_SP_EXECUTESQL](../system-stored-procedures/sp-executesql-transact-sql.md#optimized_sp_executesql) | Yes | Yes, starting with [!INCLUDE [sql-server-2025](../../includes/sssql25-md.md)] | Effectively reduce the impact of compilation storms. A compilation storm is a situation where a large number of queries is being compiled simultaneously, leading to performance issues and resource contention. Enable this feature to allow invocations of `sp_executesql` to behave like objects such as stored procedures and triggers from a compilation perspective. |
5050

5151
<a id="sql2022"></a>
@@ -82,6 +82,7 @@ The following table details all intelligent query processing features, along wit
8282
| [Approximate Percentile](intelligent-query-processing-details.md#approximate-query-processing) | Yes, starting with database compatibility level 110 | Quickly compute percentiles for a large dataset with acceptable rank-based error bounds to help make rapid decisions by using approximate percentile aggregate functions. |
8383
| [Batch Mode on Rowstore](intelligent-query-processing-details.md#batch-mode-on-rowstore) | Yes, starting with database compatibility level 150 | Provide batch mode for CPU-bound relational DW workloads without requiring columnstore indexes. |
8484
| [Cardinality estimation (CE) feedback](intelligent-query-processing-cardinality-estimation-feedback.md) | Yes, starting with database compatibility level 160 | Automatically adjusts cardinality estimates for repeating queries to optimize workloads where inefficient CE assumptions cause poor query performance. CE feedback will identify and use a model assumption that better fits a given query and data distribution to improve query execution plan quality. |
85+
| [Cardinality estimation (CE) feedback for expressions](intelligent-query-processing-ce-feedback-for-expressions.md) | Yes, starting with database compatibility level 160 in Azure SQL Managed Instance, with the **SQL Server 2025** or **Always-up-to-date** [update policy](/azure/azure-sql/managed-instance/update-policy). No, for the [SQL Server 2022 update policy](/azure/azure-sql/managed-instance/update-policy#sql-server-2022-update-policy). | Extends CE feedback to improve cardinality estimates for repeating expressions across queries by learning from previous executions and automatically applying appropriate CE model choices to future executions of those expressions. |
8586
| [Degree of parallelism (DOP) feedback](intelligent-query-processing-degree-parallelism-feedback.md) | Yes, starting with database compatibility level 160 in Azure SQL Managed Instance with the **SQL Server 2025** or **Always-up-to-date** [update policy](/azure/azure-sql/managed-instance/update-policy). No, for the [SQL Server 2022 update policy](/azure/azure-sql/managed-instance/update-policy#sql-server-2022-update-policy). | Automatically adjusts degree of parallelism for repeating queries to optimize for workloads where inefficient parallelism can cause performance issues. Requires Query Store to be enabled. |
8687
| [Interleaved Execution](intelligent-query-processing-details.md#interleaved-execution-for-mstvfs) | Yes, starting with database compatibility level 140 | Uses the actual cardinality of the multi-statement table valued function encountered on first compilation instead of a fixed guess. |
8788
| [Memory grant feedback (Batch Mode)](intelligent-query-processing-memory-grant-feedback.md#batch-mode-memory-grant-feedback) | Yes, starting with database compatibility level 140 | If a batch mode query has operations that spill to disk, add more memory for consecutive executions. If a query wastes > 50% of the memory allocated to it, reduce the memory grant size for consecutive executions. |

0 commit comments

Comments
 (0)