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

From Tom Lane
Subject Re: Some queries starting to hang
Date
Msg-id 17148.1149605005@sss.pgh.pa.us
Whole thread Raw
In response to Re: Some queries starting to hang  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: Some queries starting to hang  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-performance
Simon Riggs <simon@2ndquadrant.com> writes:
> On Mon, 2006-06-05 at 17:06 -0400, Tom Lane wrote:
>> Well, it's a big query.  If it ought to take a second or two, and
>> instead is taking an hour or two (1800 times the expected runtime), that
>> might be close enough to "never" to exhaust Chris' patience.  Besides,
>> we don't know whether the 1800 might itself be an underestimate (too bad
>> Chris didn't provide EXPLAIN ANALYZE results).

> This is a good example of a case where the inefficiency of EXPLAIN
> ANALYZE would be a contributory factor to it not actually being
> available for diagnosing a problem.

Huh?  The problem is the inefficiency of the underlying query.

            regards, tom lane

pgsql-performance by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Some queries starting to hang
Next
From: Simon Riggs
Date:
Subject: Re: Some queries starting to hang