pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Apitz <guru@unixarea.de>
Cc: Postgres General <pgsql-general@postgresql.org>
Subject: Re: Mysterious performance degradation in exceptional cases
Date: Wed, 14 Sep 2022 10:23:48 -0400
Message-ID: <2675889.1663165428@sss.pgh.pa.us> (raw)
In-Reply-To: <20220914083126.GA9@sh4-5.1blu.de>
References: <20220914083126.GA9@sh4-5.1blu.de>

Matthias Apitz <guru@unixarea.de> writes:
> To fulfill the search, the application server has to do some 100
> ESQL/C calls and all this should not take longer than 1-2 seconds, and
> normally it does not take longer. But, in some situations it takes
> longer than 180 seconds, in 10% of the cases. The other 90% are below 2 seconds,
> i.e. this is digital: Or 2 seconds, or more than 180 seconds, no values between.

I'm wondering about a plan change.  Can you install auto_explain on
the server and capture info about the fast and slow cases?

			regards, tom lane





view thread (11+ messages)  latest in thread

Message-ID: <2675889.1663165428@sss.pgh.pa.us>
Permalink:  ../2675889.1663165428@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2675889.1663165428@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, guru@unixarea.de
  Subject: Re: Mysterious performance degradation in exceptional cases
  In-Reply-To: <2675889.1663165428@sss.pgh.pa.us>
  References: <20220914083126.GA9@sh4-5.1blu.de> <2675889.1663165428@sss.pgh.pa.us>

* 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