Re: Add parameter jit_warn_above_fraction

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Add parameter jit_warn_above_fraction
Дата
Msg-id 20220225162043.6gqavxs2evbe6htf@alap3.anarazel.de
обсуждение исходный текст
Ответ на Add parameter jit_warn_above_fraction  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Add parameter jit_warn_above_fraction  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Hi,

On 2022-02-25 16:16:01 +0100, Magnus Hagander wrote:
> This patch adds a configuration parameter jit_warn_above_fraction that
> will cause a warning to be logged if the fraction of time spent on
> doing JIT is bigger than the specified one. For example, this can be
> used to track down those cases where JIT ends up taking 90% of the
> query runtime because of bad estimates...

Hm. Could it make sense to do this as a auto_explain feature?

Greetings,

Andres Freund



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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Add parameter jit_warn_above_fraction
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: Add parameter jit_warn_above_fraction