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/adaptive-query-processing.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "Adaptive query processing in Microsoft SQL databases | Microsoft Docs | Microsoft Docs"
3
3
description: "Adaptive query processing features to improve query performance in SQL Server (2017 and later), and Azure SQL Database."
4
4
ms.custom: ""
5
-
ms.date: "07/16/2018"
5
+
ms.date: "09/07/2018"
6
6
ms.prod: sql
7
7
ms.prod_service: "database-engine, sql-database"
8
8
ms.reviewer: ""
@@ -105,6 +105,9 @@ A USE HINT query hint takes precedence over a database scoped configuration or t
105
105
## Row mode memory grant feedback
106
106
**Applies to:** SQL Database as a public preview feature
107
107
108
+
> [!NOTE]
109
+
> Row mode memory grant feedback is a public preview feature.
110
+
108
111
Row mode memory grant feedback expands on the batch mode memory grant feedback feature by adjusting memory grant sizes for both batch and row mode operators.
109
112
110
113
To enable the public preview of row mode memory grant feedback in Azure SQL Database, enable database compatibility level 150 for the database you are connected to when executing the query.
@@ -123,7 +126,8 @@ LastRequestedMemory shows the granted memory in Kilobytes (KB) from the prior qu
123
126
| Yes: Adjusting | Memory grant feedback has been applied and may be further adjusted for the next execution. |
124
127
| Yes: Stable | Memory grant feedback has been applied and granted memory is now stable, meaning that what was last granted for the previous execution is what was granted for the current execution. |
125
128
126
-
The memory grant feedback plan attributes are not currently visible in SQL Server Management Studio graphical query execution plans, but for early testing you can view them using SET STATISTICS XML ON or the query_post_execution_showplan XEvent.
129
+
> [!NOTE]
130
+
> The public preview row mode memory grant feedback plan attributes are visible in SQL Server Management Studio graphical query execution plans in versions 17.9 and higher.
127
131
128
132
## Batch mode Adaptive Joins
129
133
The batch mode Adaptive Joins feature enables the choice of a [Hash Join or Nested Loops Join](../../relational-databases/performance/joins.md) method to be deferred until **after** the first input has been scanned. The Adaptive Join operator defines a threshold that is used to decide when to switch to a Nested Loops plan. Your plan can therefore dynamically switch to a better join strategy during execution.
0 commit comments