Re: Postgresql-12 taking more time to execute the query

From: Thomas Kellerer <shammat(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgresql-12 taking more time to execute the query
Date: 2020-07-10 08:54:46
Message-ID: 5ab01805-26cd-3e54-ae33-ec8186410020@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vishwa Kalyankar schrieb am 10.07.2020 um 08:50:
> Previously we are running postgresql-10with postgis 2.5.3 and now we
> are updated to postgresql-12 and postgis-3.0.1, and in postgresql-10
> one query is taking 20 sec and same query is taking upto 80 sec.

Most of the slowdowns I have seen when upgrading to Postgres 12 were caused by JITting, which seems to kick in more often than not on queries that don't profit from it.

Try to disable jit (set jit=off) and re-run your query

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2020-07-10 12:14:48 Re: Wal_keep_segment value too high
Previous Message Brajendra Pratap Singh 2020-07-10 08:26:25 Wal_keep_segment value too high