Re: Catching up with performance & PostgreSQL 15

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Mladen Gogala <gogala(dot)mladen(at)gmail(dot)com>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Catching up with performance & PostgreSQL 15
Date: 2022-11-29 08:36:15
Message-ID: 20221129083615.fseqfvd5svtjbrb6@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 2022-Nov-28, Mladen Gogala wrote:

> As for JIT, I've recently asked that question myself. I was told that
> PostgreSQL with LLVM enabled performs approximately 25% better than without
> it.

Hmm, actually, normally you're better off turning JIT off, because it's
very common to diagnose cases of queries that become much, much slower
because of it. Some queries do become faster, but it's not a wide
margin, and it's not a lot. There are rare cases where JIT is
beneficial, but those tend to be queries that take upwards of several
seconds already.

IMO it was a mistake to turn JIT on in the default config, so that's one
thing you'll likely want to change.

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end." (2nd Commandment for C programmers)

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mladen Gogala 2022-11-29 14:16:11 Re: Catching up with performance & PostgreSQL 15
Previous Message Alvaro Herrera 2022-11-29 08:31:51 Re: Catching up with performance & PostgreSQL 15