On Sat, 25 Jul 2020 at 10:37, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> > However, for now, you might just want to try raising various jit
> > thresholds so that it only is enabled for more expensive plans.
>
> Yeah. I'm fairly convinced that the v12 defaults are far too low,
> because we are constantly seeing complaints of this sort.
I think plan cost overestimation is a common cause of unwanted jit too.
It would be good to see the EXPLAIN ANALYZE so we knew if that was the
case here.
David