Skip to content

Commit 99c9e61

Browse files
authored
Merge pull request #6626 from EnterpriseDB/docs/edits_to_query_advisor_pr6540
Edits to Query Advisor PR6540
2 parents e7c5e59 + 937aea6 commit 99c9e61

File tree

1 file changed

+2
-2
lines changed
  • advocacy_docs/pg_extensions/query_advisor

1 file changed

+2
-2
lines changed

advocacy_docs/pg_extensions/query_advisor/using.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Performs a global index suggestion.
1313

1414
By default, only predicates filtering at least 1000 rows and 30% of the rows in average are considered. You can use the `min_filter` and `min_selectivity` parameters to override the default.
1515

16-
The function generates the one- and two-column index candidates based on the predicates it collects. It replans all related workload queries in the presence of the hypothetical index with respect to each candidate. It recommends the list of indexes that bring the most value to the workload. It also shows the estimated index size, estimated percentage cost reduction, total cost, absolute benefit and query ID's of the benefited queries in the workload. You can decide, based on the size and benefit ratio, which indexes are the most useful for you.
16+
The function generates the one- and two-column index candidates based on the predicates it collects. It replans all related workload queries in the presence of the hypothetical index with respect to each candidate. It recommends the list of indexes that bring the most value to the workload. It also shows the estimated index size, estimated percentage cost reduction, total cost, absolute benefit, and query IDs of the benefited queries in the workload. Based on the size and benefit ratio, you can determine the indexes that are the most useful for you.
1717

1818
For example:
1919

@@ -35,7 +35,7 @@ By default, `min_err_estimate_num` and `min_err_estimate_ratio` are set to `0`.
3535

3636
The function generates potential candidates from the multi-column filters of your queries. Then, these candidates are processed by exploring different possible combinations. Currently the focus is on statistics for two columns at a time.
3737

38-
It also shows the weights to each candidate. Weights are based on how many queries would benefit from those extended statistics and what the execution cost of the queries would be. It shows query ID's of the benefited queries for which the recommendations are beneficial.
38+
It also shows the weights to each candidate. Weights are based on how many queries would benefit from those extended statistics and what the execution cost of the queries would be. It shows query IDs of the benefited queries for which the recommendations are beneficial.
3939

4040
For example:
4141

0 commit comments

Comments
 (0)