Re: Postgres sometimes stalling on 'percentile_cont'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tom van Tilburg <tom(dot)van(dot)tilburg(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres sometimes stalling on 'percentile_cont'
Date: 2018-07-12 18:13:30
Message-ID: 13894.1531419210@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom van Tilburg <tom(dot)van(dot)tilburg(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2018-07-12 23:28:31 Re: How to watch for schema changes
Previous Message Adrian Klaver 2018-07-12 18:11:30 Re: How to watch for schema changes