Skip to content

Commit 25765b9

Browse files
authored
Apply suggestions from code review
1 parent 2adeee9 commit 25765b9

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/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ Statistics play a crucial role in determining the quality of query execution pla
3838

3939
To address this, Statistics Advisor monitors queries where multiple-column filters are applied and checks for any selectivity estimation errors. If such errors are detected,those multi-column filters are treated as potential candidates for extended statistics.
4040

41-
Whenever extended statistics recommendations are generated, those candidates are processed by exploring various combinations of columns, especially when more than two columns are involved in the filters. Since estimation errors alone don’t definitively indicate which columns are dependent, Statistic Advisor tries all possible combinations. Currently, to limit the candidate pool, the focus on statistics is for no more than two columns at a time.
41+
Whenever extended statistics recommendations are generated, Statistics Advisor processes those candidates by exploring various combinations of columns, especially when more than two columns are involved in the filters. Since estimation errors alone don’t definitively indicate which columns are dependent, Statistic Advisor tries all possible combinations. Currently, to limit the candidate pool, the focus on statistics is for no more than two columns at a time.
4242

43-
Weights are also assigned to each candidate, prioritizing them based on how many queries would benefit from those extended statistics and the execution cost of the queries.
43+
Weights are also assigned to each candidate, prioritized based on how many queries would benefit from those extended statistics and the execution cost of the queries.
4444

4545
See [Using EDB Query Advisor](using/#query_advisor_statistics_recommendationsmin_err_estimate_num-min_err_estimate_ratio) for a description of the `query_advisor_statistics_recommendations` function you can use to generate the statistics recommendation.
4646

0 commit comments

Comments
 (0)