Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group