You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/relational-databases/performance/intelligent-query-processing.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,20 +42,20 @@ The following table details all intelligent query processing features, along wit
42
42
|[Approximate Percentile](intelligent-query-processing-details.md#approximate-query-processing)| Yes, starting with database compatibility level 110| Yes, starting in [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)] with 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.|
43
43
|[Batch Mode on Rowstore](intelligent-query-processing-details.md#batch-mode-on-rowstore)| Yes, starting with database compatibility level 150| Yes, starting in [!INCLUDE [sql-server-2019](../../includes/sssql19-md.md)] with compatibility level 150|Provide batch mode for CPU-bound relational DW workloads without requiring columnstore indexes. |
44
44
|[Cardinality estimation (CE) feedback](intelligent-query-processing-cardinality-estimation-feedback.md)| No <!--Yes, in Preview, starting with database compatibility level 160 -->| Yes, starting in [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)] with 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. |
45
-
|[Degrees of Parallelism (DOP) feedback](intelligent-query-processing-degree-parallelism-feedback.md)| Yes\*, starting with database compatibility level 160. | Yes, starting in [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)] with compatibility level 160|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.|
45
+
|[Degrees of Parallelism (DOP) feedback](intelligent-query-processing-degree-parallelism-feedback.md)| Yes\*, starting with database compatibility level 160. | Yes\*, starting in [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)] with compatibility level 160|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.|
46
46
|[Interleaved Execution](intelligent-query-processing-details.md#interleaved-execution-for-mstvfs)| Yes, starting with database compatibility level 140| Yes, starting in [!INCLUDE [ssSQL17](../../includes/sssql17-md.md)] 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.|
47
47
|[Memory grant feedback (Batch Mode)](intelligent-query-processing-memory-grant-feedback.md#batch-mode-memory-grant-feedback)| Yes, starting with database compatibility level 140| Yes, starting in [!INCLUDE [ssSQL17](../../includes/sssql17-md.md)] 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.|
48
48
|[Memory grant feedback (Row Mode)](intelligent-query-processing-memory-grant-feedback.md#row-mode-memory-grant-feedback)| Yes, starting with database compatibility level 150| Yes, starting in [!INCLUDE [sql-server-2019](../../includes/sssql19-md.md)] with database compatibility level 150|If a row 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.|
49
49
|[Memory grant feedback (Percentile)](intelligent-query-processing-memory-grant-feedback.md#percentile-and-persistence-mode-memory-grant-feedback)| Yes, enabled on all databases | Yes, starting with [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)]) with database compatibility level 140 | Addresses existing limitations of memory grant feedback in a non-intrusive way by incorporating past query execution to refine feedback. |
50
50
|[Memory Grant feedback persistence](intelligent-query-processing-memory-grant-feedback.md#percentile-and-persistence-mode-memory-grant-feedback)| Yes, enabled on all databases | Yes, starting with [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)]) with database compatibility level 140 | Provides new functionality to persist memory grant feedback. Requires Query Store to be enabled for the database and in READ_WRITE mode. |
51
51
|[CE feedback persistence](intelligent-query-processing-cardinality-estimation-feedback.md#persistence-for-cardinality-estimation-ce-feedback)| No <!--Yes, starting with database compatibility level 160-->| Yes, starting with [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)]) with database compatibility level 160 | Requires Query Store to be enabled for the database and in READ_WRITE mode. |
52
-
|[DOP feedback persistence](intelligent-query-processing-degree-parallelism-feedback.md#persistence-for-degree-of-parallelism-dop-feedback)| No <!--Yes, starting with database compatibility level 160-->| Yes, starting with [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)]) with database compatibility level 160 | Requires Query Store to be enabled for the database and in READ_WRITE mode. |
52
+
|[DOP feedback persistence](intelligent-query-processing-degree-parallelism-feedback.md#persistence-for-degree-of-parallelism-dop-feedback)| No <!--Yes, starting with database compatibility level 160-->| Yes\*, starting with [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)]) with database compatibility level 160 | Requires Query Store to be enabled for the database and in READ_WRITE mode. |
53
53
|[Optimized plan forcing](optimized-plan-forcing-query-store.md)| No <!--Yes, starting with database compatibility level 160-->| Yes, starting with [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)]). | Reduces compilation overhead for repeating forced queries. For more information, see [Optimized plan forcing with Query Store](optimized-plan-forcing-query-store.md). |
54
54
|[Scalar UDF Inlining](intelligent-query-processing-details.md#scalar-udf-inlining)| Yes, starting with database compatibility level 150 | Yes, starting in [!INCLUDE [sql-server-2019](../../includes/sssql19-md.md)] with database compatibility level 150|Scalar UDFs are transformed into equivalent relational expressions that are "inlined" into the calling query, often resulting in significant performance gains.|
55
55
|[Parameter Sensitivity Plan optimization](./parameter-sensitive-plan-optimization.md)| No <!--Yes, starting with database compatibility level 160-->| Yes, starting in [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)] with database compatibility level 160 | Parameter Sensitive Plan optimization addresses the scenario where a single cached plan for a parameterized query is not optimal for all possible incoming parameter values, for example non-uniform data distributions. |
56
56
|[Table Variable Deferred Compilation](intelligent-query-processing-details.md#table-variable-deferred-compilation)| Yes, starting with database compatibility level 150 | Yes, starting in [!INCLUDE [sql-server-2019](../../includes/sssql19-md.md)] with database compatibility level 150 | Uses the actual cardinality of the table variable encountered on first compilation instead of a fixed guess.|
57
57
58
-
\*[DOP Feedback](intelligent-query-processing-degree-parallelism-feedback.md) is currently available in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)]as a limited preview. For more information and how to apply for the preview, see [Announcing Degree of Parallelism Feedback Limited Preview](https://techcommunity.microsoft.com/t5/azure-sql-blog/announcing-degree-of-parallelism-feedback-limited-preview/ba-p/3806924).
58
+
\*[DOP Feedback](intelligent-query-processing-degree-parallelism-feedback.md) is currently available in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)] and [!INCLUDE [sql-server-2022](../../includes/sssql22-md.md)] as a limitedpreview.
59
59
60
60
## <aid="sqlmi"></a> IQP features for [!INCLUDE [ssazuremi](../../includes/ssazuremi-md.md)]
0 commit comments