Re: Missing query plan for auto_explain.

From: Matheus Martin <matheus(dot)martin(at)voidbridge(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Missing query plan for auto_explain.
Date: 2022-09-05 13:52:04
Message-ID: CAB_m0bFaMDFqXvSTJkKfYaZLy0mrw1veszybypdcN2F1TUDB9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

`auto_explain.log_min_duration` is set to 500 ms.

On Mon, 5 Sept 2022 at 12:35, Peter J. Holzer <hjp-pgsql(at)hjp(dot)at> wrote:

> On 2022-09-02 10:58:58 +0100, Matheus Martin wrote:
> > Yes, we do see some plans logged by the auto_explain. We couldn't find a
> > `auto_explain.log_min_duration_statements` setting
>
> This is weird as the documentation says:
>
> | 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.
>
> What does
> show auto_explain.log_min_duration;
> return?
>
> > but `log_min_duration_statement` as in
> > https://www.postgresql.org/docs/current/ runtime-config-logging.html
> > is set to 100 ms.
>
> I don't think this affects auto_explain.
>
> hp
>
> --
> _ | Peter J. Holzer | Story must make more sense than reality.
> |_|_) | |
> | | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
> __/ | http://www.hjp.at/ | challenge!"
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ajin Cherian 2022-09-05 14:18:30 Re: Support logical replication of DDLs
Previous Message Meera Nair 2022-09-05 10:50:05 RE: Unable to archive logs in standby server