Re: Missing query plan for auto_explain.

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

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Matheus Martin
Дата:
Сообщение: Re: Missing query plan for auto_explain.
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: How to make PostreSQL utilities honor home directories?