Skip to content

Commit 4368753

Browse files
authored
Merge pull request #274986 from nachoalonsoportillo/patch-1
Update concepts-query-store.md
2 parents eaeb414 + 388fd86 commit 4368753

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

articles/postgresql/flexible-server/concepts-query-store.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ This function discards all statistics gathered so far by Query Store. It discard
276276

277277
This function discards all statistics gathered in-memory by Query Store (that is, the data in memory that hasn't been flushed yet to the on disk tables supporting persistence of collected data for Query Store). This function can only be executed by the server admin role (**azure_pg_admin**).
278278

279+
## Limitations and known issues
280+
[!INCLUDE [Note Query store and Azure storage compability](includes/note-query-store-azure-storage-compability.md)]
279281

280282
### Read-only mode
281283
When an Azure Database for PostgreSQL - Flexible Server instance is in read-only mode, such as when the `default_transaction_read_only` parameter is set to `on`, or if read-only mode is [automatically enabled due to reaching storage capacity](concepts-limits.md#storage), Query Store does not capture any data.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
author: AlicjaKucharczyk
3+
ms.service: postgresql
4+
ms.subservice: flexible-server
5+
ms.topic: include
6+
ms.date: 01/22/2024
7+
ms.author: alkuchar
8+
---
9+
10+
### Azure Storage and Query Store compatibility
11+
12+
Because of compatibility issues, you can't enable Azure Storage and Query Store extensions at the same time. To ensure proper functioning and avoid potential conflicts, enable only one of these extensions at a time.
13+
14+
To use Azure Storage:
15+
16+
* Disable Query Store by setting the parameter `pg_qs.query_capture_mode` to `NONE`. This parameter is dynamic, so you don't need to restart.
17+
18+
To use Query Store:
19+
20+
1. Disable the Azure Storage extension by issuing `DROP EXTENSION azure_storage;`.
21+
1. Remove Azure Storage from `shared_preload_libraries`.
22+
1. Restart your database server.
23+
24+
These steps are necessary to prevent conflicts and to ensure that your system operates correctly. We're working to resolve these compatibility issues and will keep you informed of any updates.

0 commit comments

Comments
 (0)