Re: Missing query plan for auto_explain.

Поиск
Список
Период
Сортировка
От Matheus Martin
Тема Re: Missing query plan for auto_explain.
Дата
Msg-id CAB_m0bFaMDFqXvSTJkKfYaZLy0mrw1veszybypdcN2F1TUDB9A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Missing query plan for auto_explain.  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Список 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 по дате отправления:

Предыдущее
От: Meera Nair
Дата:
Сообщение: RE: Unable to archive logs in standby server
Следующее
От: Maxim Boguk
Дата:
Сообщение: Re: Missing query plan for auto_explain.