From 4c04f868c6aad72ec2b691632425e03cddd15ded Mon Sep 17 00:00:00 2001 From: sommarskog Date: Sat, 18 Jul 2026 22:23:17 +0200 Subject: [PATCH 1/3] Update intelligent-query-processing-memory-grant-feedback.md Topic said that persistence of memory-grant-feedback and percentile testing is currently not available in Azure Managed Instance. My testing indicates that it is, and I assume that the text I deleted was a leftover. --- .../intelligent-query-processing-memory-grant-feedback.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md b/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md index 20c6c5cb932..ca1e36b0659 100644 --- a/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md +++ b/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md @@ -8,7 +8,7 @@ ms.date: 12/08/2025 ms.service: sql ms.subservice: configuration ms.topic: concept-article -f1_keywords: +f1_keywords:mana - "memory grant feedback" helpviewer_keywords: - "memory grant feedback" @@ -188,12 +188,10 @@ This feature was introduced in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md) - Percentile memory grant feedback is enabled by default in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md)], but has no effect if Query Store isn't enabled or when Query Store isn't in a "read write" state. -- Persistence for memory grant, CE, and DOP feedback is on by default in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md)], but has no effect when Query Store isn't enabled or when Query Store isn't in a "read write" state. +- Persistence for memory grant, CE, and DOP feedback is on by default in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md)] and [!INCLUDE [ssazuremi-md](../../includes/ssazuremi-md.md)], but has no effect when Query Store isn't enabled or when Query Store isn't in a "read write" state. - Percentile and persistence for memory grant feedback is available in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)], and enabled by default on all databases, both existing and new. -- Percentile and persistence for memory grant feedback isn't currently available in [!INCLUDE [ssazuremi-md](../../includes/ssazuremi-md.md)]. - It's recommended that you have a performance baseline for your workload before the feature is enabled for your database. The baseline numbers will help you determine if you're getting the intended benefit from the feature. Memory grant feedback (MGF) is an existing feature that adjusts the size of the memory allocated for a query based on past performance. However, the initial phases of this project only stored the memory grant adjustment with the plan in the cache – if a plan is evicted from the cache, the feedback process must start again, resulting in poor performance the first few times a query is executed after eviction. The new solution is to persist the grant information with the other query information in the Query Store so that the benefits last across cache evictions. Memory grant feedback persistence and percentile address existing limitations of memory grant feedback in a non-intrusive way. From c990f78d909113b6a76825f2daa0cf0392e5333c Mon Sep 17 00:00:00 2001 From: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com> Date: Mon, 20 Jul 2026 10:34:28 -0600 Subject: [PATCH 2/3] Apply suggestion from @v-regandowner Co-authored-by: Regan Downer --- .../intelligent-query-processing-memory-grant-feedback.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md b/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md index ca1e36b0659..114d5836ff1 100644 --- a/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md +++ b/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md @@ -8,7 +8,7 @@ ms.date: 12/08/2025 ms.service: sql ms.subservice: configuration ms.topic: concept-article -f1_keywords:mana +f1_keywords: - "memory grant feedback" helpviewer_keywords: - "memory grant feedback" From 5dba5e1e55a50f50a34655594e09985dc94776ac Mon Sep 17 00:00:00 2001 From: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com> Date: Mon, 20 Jul 2026 10:38:55 -0600 Subject: [PATCH 3/3] Apply suggestion from @rwestMSFT --- .../intelligent-query-processing-memory-grant-feedback.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md b/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md index 114d5836ff1..c3c0516f3a9 100644 --- a/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md +++ b/docs/relational-databases/performance/intelligent-query-processing-memory-grant-feedback.md @@ -188,7 +188,7 @@ This feature was introduced in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md) - Percentile memory grant feedback is enabled by default in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md)], but has no effect if Query Store isn't enabled or when Query Store isn't in a "read write" state. -- Persistence for memory grant, CE, and DOP feedback is on by default in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md)] and [!INCLUDE [ssazuremi-md](../../includes/ssazuremi-md.md)], but has no effect when Query Store isn't enabled or when Query Store isn't in a "read write" state. +- Persistence for memory grant, CE, and DOP feedback is on by default in [!INCLUDE [ssSQL22](../../includes/sssql22-md.md)] and [!INCLUDE [ssazuremi-md](../../includes/ssazuremi-md.md)], but has no effect when Query Store isn't enabled or when Query Store isn't in a "read write" state. - Percentile and persistence for memory grant feedback is available in [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)], and enabled by default on all databases, both existing and new.