Re: Add parameter jit_warn_above_fraction - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Add parameter jit_warn_above_fraction
Date
Msg-id 20220225162043.6gqavxs2evbe6htf@alap3.anarazel.de
Whole thread Raw
In response to Add parameter jit_warn_above_fraction  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Add parameter jit_warn_above_fraction
List 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 by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Add parameter jit_warn_above_fraction
Next
From: Justin Pryzby
Date:
Subject: Re: Add parameter jit_warn_above_fraction