Re: Catching up with performance & PostgreSQL 15 - Mailing list pgsql-performance

From Tom Lane
Subject Re: Catching up with performance & PostgreSQL 15
Date
Msg-id 871130.1669732296@sss.pgh.pa.us
Whole thread Raw
In response to Re: Catching up with performance & PostgreSQL 15  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Catching up with performance & PostgreSQL 15  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-performance
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> IMO it was a mistake to turn JIT on in the default config, so that's one
> thing you'll likely want to change.

I wouldn't necessarily go quite that far, but I do think that the
default cost thresholds for invoking it are enormously too low,
or else there are serious bugs in the cost-estimation algorithms
for deciding when to use it.  A nearby example[1] of a sub-1-sec
partitioned query that took 30sec after JIT was enabled makes me
wonder if we're accounting correctly for per-partition JIT costs.

            regards, tom lane

[1] https://www.postgresql.org/message-id/B6025887-D73F-4B5B-9925-4DA4B675F7E5%40elevated-dev.com



pgsql-performance by date:

Previous
From: Mladen Gogala
Date:
Subject: Re: Catching up with performance & PostgreSQL 15
Next
From: Alvaro Herrera
Date:
Subject: Re: Catching up with performance & PostgreSQL 15