Re: Postgresql-12 taking more time to execute the query - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Postgresql-12 taking more time to execute the query
Date
Msg-id 5ab01805-26cd-3e54-ae33-ec8186410020@gmx.net
Whole thread Raw
In response to Postgresql-12 taking more time to execute the query  (Vishwa Kalyankar <vishwakalyankar8@gmail.com>)
List 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
oftenthan not on queries that don't profit from it. 

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







pgsql-general by date:

Previous
From: Brajendra Pratap Singh
Date:
Subject: Wal_keep_segment value too high
Next
From: Andreas Kretschmer
Date:
Subject: Re: Wal_keep_segment value too high