Skip to content

Commit 6300a71

Browse files
Merge pull request #232715 from varun-dhawan/varund-novena
[PostgreSQL] updates the section heading
2 parents f00f5cf + 6200924 commit 6300a71

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,17 @@ Query Store is an opt-in feature, so it isn't enabled by default on a server. Qu
2222
> Do not enable Query Store on Burstable pricing tier as it would cause performance impact.
2323
2424

25-
### Enable Query Store using the Azure portal
25+
### Enable Query Store
2626
1. Sign in to the Azure portal and select your Azure Database for PostgreSQL server.
2727
2. Select **Server Parameters** in the **Settings** section of the menu.
2828
3. Search for the `pg_qs.query_capture_mode` parameter.
2929
4. Set the value to `TOP` or `ALL` and **Save**.
3030
Allow up to 20 minutes for the first batch of data to persist in the azure_sys database.
31-
To enable wait statistics in your Query Store:
31+
32+
### Enable Query Store Wait Sampling
3233
1. Search for the `pgms_wait_sampling.query_capture_mode` parameter.
3334
2. Set the value to `ALL` and **Save**.
35+
3436
## Information in Query Store
3537
Query Store has two stores:
3638
- A runtime stats store for persisting the query execution statistics information.
@@ -165,7 +167,8 @@ This view returns the query plan that was used to execute a query. There is one
165167
`staging_data_reset` discards all statistics gathered in memory by Query Store (that is, the data in memory that has not been flushed yet to the database). This function can only be executed by the server admin role.
166168

167169
## Limitations and known issues
168-
- If a PostgreSQL server has the parameter default_transaction_read_only on, Query Store will not capture any data.
170+
- If a PostgreSQL server has the parameter `default_transaction_read_only` on, Query Store will not capture any data.
171+
-
169172
## Next steps
170173
- Learn more about [scenarios where Query Store can be especially helpful](concepts-query-store-scenarios.md).
171174
- Learn more about [best practices for using Query Store](concepts-query-store-best-practices.md).

0 commit comments

Comments
 (0)