Re: Some queries starting to hang - Mailing list pgsql-performance

From Andrew Sullivan
Subject Re: Some queries starting to hang
Date
Msg-id 20060605194252.GA7071@phlogiston.dyndns.org
Whole thread Raw
In response to Some queries starting to hang  (Chris Beecroft <CBeecroft@PrO-Unlimited.com>)
List pgsql-performance
On Mon, Jun 05, 2006 at 12:05:08PM -0700, Chris Beecroft wrote:
> Our problem is that about a week and a half ago we started to get some
> queries that would (seemingly) never return (e.g., normally run in a
> couple minutes, but after 2.5 hours, they were still running, the
> process pushing the processor up to 99.9% active).

Are there any locks preventing the query from completing?  I can't
recall how you check in 7.3, but if nothing else, you can check with
ps for something WAITING.

A



--
Andrew Sullivan  | ajs@crankycanuck.ca
Unfortunately reformatting the Internet is a little more painful
than reformatting your hard drive when it gets out of whack.
        --Scott Morris

pgsql-performance by date:

Previous
From: "Andrus"
Date:
Subject: How to force Postgres to use index on ILIKE
Next
From: Tom Lane
Date:
Subject: Re: Some queries starting to hang