Same issue and took us ages to work out that is was JIT! The default is on, and 
setting off solves the problem. I have seen several blogs reporting the same 
and so wonder why this default is on?

Z

From: Олександр Янін <aleksandr.ja...@privatbank.ua>
Sent: Monday, April 22, 2024 8:01 PM
To: Johnathan Tiamoh <johnathantia...@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Performance degradation after upgrading from 9.5 to 14

You don't often get email from 
aleksandr.ja...@privatbank.ua<mailto:aleksandr.ja...@privatbank.ua>. Learn why 
this is important<https://aka.ms/LearnAboutSenderIdentification>

CAUTION: This email originated from outside of the organisation. Do not click 
links or open attachments unless you recognise the sender and know the content 
is safe. Visit the information security portal (MetaCompliance - MyCompliance 
Cloud)<https://launcher.myapps.microsoft.com/api/signin/c773a37f-a0e3-4e64-98a8-3bd3dc6c6392?tenantId=e519c2e6-bc6d-4fdf-8d9c-923c2f002385>
 to do your training.

Try setting enable_memoize to off.
Our practice has shown that enabling this parameter by default often resulted 
in less than optimal query plans in the cache.


ср, 17 апр. 2024 г. в 20:13, Johnathan Tiamoh 
<johnathantia...@gmail.com<mailto:johnathantia...@gmail.com>>:
Hello,


I performed an  upgrade from postgresql-9.5 to postgresql-14 and the 
performance has degraded drastically.

Please, is they any advice on getting performance back ?

Reply via email to