From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Postgresql-12 taking more time to execute the query
Date: Fri, 10 Jul 2020 10:54:46 +0200
Message-ID: <5ab01805-26cd-3e54-ae33-ec8186410020@gmx.net> (raw)
In-Reply-To: <CAFWaVn0tJAq4FUA+qDXa-z+6ngY84w0O07WK1MwfO+_3Zhfusw@mail.gmail.com>
References: <CAFWaVn0tJAq4FUA+qDXa-z+6ngY84w0O07WK1MwfO+_3Zhfusw@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: shammat@gmx.net
Subject: Re: Postgresql-12 taking more time to execute the query
In-Reply-To: <5ab01805-26cd-3e54-ae33-ec8186410020@gmx.net>
References: <CAFWaVn0tJAq4FUA+qDXa-z+6ngY84w0O07WK1MwfO+_3Zhfusw@mail.gmail.com> <5ab01805-26cd-3e54-ae33-ec8186410020@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox