Re: Odd blocking (or massively latent) issue - even with EXPLAIN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Vanns <james(dot)vanns(at)framestore(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Odd blocking (or massively latent) issue - even with EXPLAIN
Date: 2012-07-23 15:09:16
Message-ID: 29948.1343056156@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Jim Vanns <james(dot)vanns(at)framestore(dot)com> writes:
> We're seeing SELECT statements and even EXPLAIN (no ANAYLZE)
> statements hang indefinitely until *something* (we don't know what)
> releases some kind of resource or no longer becomes a massive bottle
> neck. These are the symptoms.

Does anything show up as blocked in the pg_locks view?

Could you attach to the stuck process with gdb and get a stack trace?

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jim Vanns 2012-07-23 15:49:25 Re: Odd blocking (or massively latent) issue - even with EXPLAIN
Previous Message Tom Lane 2012-07-23 15:07:45 Re: Shards + hash = forever running queries