RE: Performance degradation after upgrading from 9.5 to 14

From: Zahir Lalani <ZahirLalani(at)oliver(dot)agency>
To: Олександр Янін <aleksandr(dot)janin(at)privatbank(dot)ua>, Johnathan Tiamoh <johnathantiamoh(at)gmail(dot)com>
Cc: pgsql-generallists(dot)postgresql(dot)org <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: RE: Performance degradation after upgrading from 9.5 to 14
Date: 2024-04-27 09:46:26
Message-ID: AS8P251MB01201F6725206A713DB58C77A7152@AS8P251MB0120.EURP251.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)janin(at)privatbank(dot)ua>
Sent: Monday, April 22, 2024 8:01 PM
To: Johnathan Tiamoh <johnathantiamoh(at)gmail(dot)com>
Cc: pgsql-generallists.postgresql.org <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Performance degradation after upgrading from 9.5 to 14

You don't often get email from aleksandr(dot)janin(at)privatbank(dot)ua<mailto:aleksandr(dot)janin(at)privatbank(dot)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 <johnathantiamoh(at)gmail(dot)com<mailto:johnathantiamoh(at)gmail(dot)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 ?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2024-04-27 11:25:24 RE: Performance degradation after upgrading from 9.5 to 14
Previous Message Riku Iki 2024-04-26 23:15:35 Re: Preallocation changes in Postgresql 16