pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tom van Tilburg <tom.van.tilburg@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Postgres sometimes stalling on 'percentile_cont'
Date: Thu, 12 Jul 2018 14:13:30 -0400
Message-ID: <13894.1531419210@sss.pgh.pa.us> (raw)
In-Reply-To: <CAP3PPDg+2nwJbyRu1mGHtkDk3N1toAXpjOPZT5_oLTkbyF76Gg@mail.gmail.com>
References: <CAP3PPDgsRehhcE_SVyjGArBnNxwQDUQtN-rHGe8h9PfMnJymqw@mail.gmail.com>
	<66447.1530720113@sss.pgh.pa.us>
	<CAP3PPDg+2nwJbyRu1mGHtkDk3N1toAXpjOPZT5_oLTkbyF76Gg@mail.gmail.com>

Tom van Tilburg <tom.van.tilburg@gmail.com> writes:
> Problem is that the query is not slow, it just stalls and never finishes (
> I waited several hours for a 2 seconds query). Would it still be possible
> to derive an EXPLAIN ANALYZE from it in that case?

No, not really, but it'd be sufficient to compare EXPLAIN (without
ANALYZE) output for the slow and fast cases.  What I'm wondering about
is whether the shape of the plan changes.

			regards, tom lane




view thread (4+ messages)

Message-ID: <13894.1531419210@sss.pgh.pa.us>
Permalink:  ../13894.1531419210@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13894.1531419210@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, tom.van.tilburg@gmail.com
  Subject: Re: Postgres sometimes stalling on 'percentile_cont'
  In-Reply-To: <13894.1531419210@sss.pgh.pa.us>
  References: <CAP3PPDgsRehhcE_SVyjGArBnNxwQDUQtN-rHGe8h9PfMnJymqw@mail.gmail.com> <66447.1530720113@sss.pgh.pa.us> <CAP3PPDg+2nwJbyRu1mGHtkDk3N1toAXpjOPZT5_oLTkbyF76Gg@mail.gmail.com> <13894.1531419210@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