Skip to content

Commit 962c9f1

Browse files
Merge pull request #263797 from AlicjaKucharczyk/20240122-querystorestorage
compat
2 parents 35e6219 + fa23dff commit 962c9f1

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,10 @@ This function discards all statistics gathered in-memory by Query Store (that is
277277

278278

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

281-
- If an Azure Database for PostgreSQL flexible server instance has the parameter `default_transaction_read_only` set to on, Query Store doesn't capture any data.
282+
### Read-only mode
283+
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.
282284

283285
## Related content
284286

articles/postgresql/flexible-server/concepts-storage-extension.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ When the Azure Database for PostgreSQL flexible server administrator decides tha
197197
SELECT * FROM azure_storage.account_user_remove('mystorageaccount', 'support');
198198
```
199199

200+
## Limitations and known issues
201+
[!INCLUDE [Note Query store and Azure storage compability](includes/note-query-store-azure-storage-compability.md)]
202+
200203
## Next steps
201204

202205
- If you don't see an extension that you'd like to use, let us know. Vote for existing requests or create new feedback requests in our [feedback forum](https://feedback.azure.com/d365community/forum/c5e32b97-ee24-ec11-b6e6-000d3a4f0da0).
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
### Query store and Azure storage compatibility
10+
11+
Due to compatibility issues, the Query store and Azure storage extensions can't be enabled at the same time. Users are advised to enable only one of these extensions at a time to ensure proper functioning and avoid potential conflicts.
12+
13+
* **To use Azure storage**: Disable the query store by setting the parameter `pg_qs.query_capture_mode` to `NONE`. This parameter is dynamic, so no restart is needed.
14+
15+
* **To use Query store**: Disable the Azure storage extension by issuing `DROP EXTENSION azure_storage;`. Additionally, remove Azure storage from the `shared_preload_libraries`. Restart your database server after this change.
16+
17+
These steps are necessary to prevent conflicts and ensure your system operates correctly. We're working to resolve these compatibility issues and will keep you informed of any updates in future releases.

0 commit comments

Comments
 (0)