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

From Peter J. Holzer
Subject Re: Missing query plan for auto_explain.
Date
Msg-id 20220902111625.knpcxuzqhc25tsu5@hjp.at
Whole thread Raw
In response to Re: Missing query plan for auto_explain.  (Matheus Martin <matheus.martin@voidbridge.com>)
Responses Re: Missing query plan for auto_explain.
List pgsql-general
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!"

Attachment

pgsql-general by date:

Previous
From: Matheus Martin
Date:
Subject: Re: Missing query plan for auto_explain.
Next
From: "Peter J. Holzer"
Date:
Subject: Re: How to make PostreSQL utilities honor home directories?