Re: Recursive query slow on strange conditions - Mailing list pgsql-performance

From Jean-Christophe Boggio
Subject Re: Recursive query slow on strange conditions
Date
Msg-id 644c5b7f-aa5e-66bd-defa-e56a80bd9781@thefreecat.org
Whole thread Raw
In response to Recursive query slow on strange conditions  (Jean-Christophe Boggio <postgresql@thefreecat.org>)
Responses Re: Recursive query slow on strange conditions
List 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



pgsql-performance by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: 600 million rows of data. Bad hardware or need partitioning?
Next
From: "David G. Johnston"
Date:
Subject: Re: Recursive query slow on strange conditions