Re: Recursive query slow on strange conditions

From: Jean-Christophe Boggio <postgresql(at)thefreecat(dot)org>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Recursive query slow on strange conditions
Date: 2020-05-04 16:12:34
Message-ID: 644c5b7f-aa5e-66bd-defa-e56a80bd9781@thefreecat.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello,

I have rewritten the function/query to make it a PLPGSQL function and
split the query in ~20 smaller queries.

Now the problem of the JIT compiler kicking in also happens on PG 11.6
Although the 2 seconds induced delay is not a serious problem when I
execute the query for thousands of items, it really becomes one when
querying ONE item.

Is there a way to disable JIT (I use the apt.postgresql.org repository)
in both 11.6 and 12.2 ? I would have liked to disable it on this
particular query but maybe I could live with disabling JIT everywhere.

Thanks for your help,

JC

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message David G. Johnston 2020-05-04 16:20:19 Re: Recursive query slow on strange conditions
Previous Message Justin Pryzby 2020-05-04 09:21:30 Re: 600 million rows of data. Bad hardware or need partitioning?