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: articles/postgresql/flexible-server/concepts-query-store.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
title: Query Store - Azure Database for PostgreSQL - Flexible Server
3
3
description: This article describes the Query Store feature in Azure Database for PostgreSQL - Flexible Server.
4
-
author: markingmyname
5
-
ms.author: maghan
6
-
ms.date: 11/30/2023
4
+
author: varun-dhawan
5
+
ms.author: varundhawan
6
+
ms.date: 12/20/2023
7
7
ms.service: postgresql
8
8
ms.subservice: flexible-server
9
9
ms.topic: conceptual
@@ -19,11 +19,12 @@ The Query Store feature in Azure Database for PostgreSQL provides a way to track
19
19
20
20
## Enable Query Store
21
21
22
-
Query Store is an opt-in feature, so it isn't enabled by default on a server. Query store is enabled or disabled globally for all databases on a given server and can't be turned on or off per database.
22
+
Query Store is available in all regions with no additional charges. It is an opt-in feature, so it isn't enabled by default on a server. Query store can be enabled or disabled globally for all databases on a given server and can't be turned on or off per database.
23
+
23
24
> [!IMPORTANT]
24
25
> Do not enable Query Store on Burstable pricing tier as it would cause performance impact.
25
26
26
-
### Enable Query Store
27
+
### Enable Query Store in Azure portal
27
28
28
29
1. Sign in to the Azure portal and select your Azure Database for PostgreSQL server.
29
30
1. Select **Server Parameters** in the **Settings** section of the menu.
@@ -38,11 +39,11 @@ Allow up to 20 minutes for the first batch of data to persist in the azure_sys d
38
39
39
40
## Information in Query Store
40
41
41
-
Query Store has two stores:
42
-
- A runtime stats store for persisting the query execution statistics information.
43
-
- A wait stats store for persisting wait statistics information.
42
+
#### Query Store consists of two stores:
43
+
1. A runtime stats store for persisting the query execution statistics information.
44
+
1. A wait stats store for persisting wait statistics information.
44
45
45
-
Common scenarios for using Query Store include:
46
+
#### Common scenarios for using Query Store include:
46
47
- Determining the number of times a query was executed in a given time window
47
48
- Comparing the average execution time of a query across time windows to see large deltas
48
49
- Identifying longest running queries in the past few hours
@@ -189,3 +190,4 @@ This view returns the query plan that was used to execute a query. There's one r
189
190
190
191
-[scenarios where Query Store can be especially helpful](concepts-query-store-scenarios.md)
191
192
-[best practices for using Query Store](concepts-query-store-best-practices.md)
193
+
-[visualizing data from Query Store via Query Performance Insight Interface](./concepts-query-performance-insight.md)
0 commit comments