Re: Missing query plan for auto_explain. - Mailing list pgsql-general

From Matheus Martin
Subject Re: Missing query plan for auto_explain.
Date
Msg-id CAB_m0bFaMDFqXvSTJkKfYaZLy0mrw1veszybypdcN2F1TUDB9A@mail.gmail.com
Whole thread Raw
In response to Re: Missing query plan for auto_explain.  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
List 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@hjp.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@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

pgsql-general by date:

Previous
From: Meera Nair
Date:
Subject: RE: Unable to archive logs in standby server
Next
From: Maxim Boguk
Date:
Subject: Re: Missing query plan for auto_explain.