Re: is JIT available

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
Cc: PostgreSQL General <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: is JIT available
Date: 2020-07-25 12:39:52
Message-ID: CAFj8pRBaavFMFTEM=iio8pmsRd4Z-kwc-24cj6hH19L-nnXk+w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

so 25. 7. 2020 v 14:33 odesílatel Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
napsal:

> > On Jul 25, 2020, at 6:21 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
> >
> > It shows if Postgres was compiled with JIT support.
> >
> > When you run EXPLAIN ANALYZE SELECT ... then you can see info about JIT
> overhead. If you don't see notices about JIT in EXPLAIN, then JIT was not
> used.
>
> The presence of "jit = on" in the config file does not indicate whether
> the running PG was actually compiled with JIT. And I'm not sure whether
> beyond that, compiling with JIT requires presence of anything outside the
> PG install.

select * from pg_config where name = 'CONFIGURE' and setting like
'%with-llvm';

if you see one row, then your postgres should be configured and compiled
with JIT support

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nils Bergmann 2020-07-25 13:48:54 Format generation_expression
Previous Message Scott Ribe 2020-07-25 12:33:32 Re: is JIT available