Skip to content

Commit

Permalink
[#23814] docs: Add log_dist option to auto_explain page.
Browse files Browse the repository at this point in the history
  • Loading branch information
pao214 committed Sep 13, 2024
1 parent cc80d59 commit d97188f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ You can customize the following auto_explain parameters:
| `log_format` | The format of the EXPLAIN output. Allowed values are `text`, `xml`, `json`, and `yaml`. Only superusers can change this setting. | text |
| `log_nested_statements` | Consider nested statements (statements executed inside a function) for logging. When off, only top-level query plans are logged. Only superusers can change this setting. | false |
| `sample_rate` | Explain only a set fraction of the statements in each session. The default 1 means explain all the queries. In case of nested statements, either all will be explained or none. Only superusers can change this setting. | 1 |
| `log_dist` | Set to false to disable the DIST option from `EXPLAIN ANALYZE`. True by default, equivalent to `EXPLAIN (ANALYZE, DIST)`. This setting only applies when `log_analyze` is true. | true |

Note that the default behavior is to do nothing, so you must set at least `auto_explain.log_min_duration` if you want any results.

Expand Down

0 comments on commit d97188f

Please sign in to comment.