Re: Slow response in select - Mailing list pgsql-sql

From Gary Stainburn
Subject Re: Slow response in select
Date
Msg-id 201009211520.15903.gary.stainburn@ringways.co.uk
Whole thread Raw
In response to Re: Slow response in select  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Slow response in select  (Gary Stainburn <gary.stainburn@ringways.co.uk>)
Re: Slow response in select  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
On Tuesday 21 September 2010 15:11:09 Craig Ringer wrote:
> On 09/21/2010 08:25 PM, Gary Stainburn wrote:
> > Hi folks,I have a view that seems to be very slow compared to similar
> > views on the same server.
> >
> > I've had a look at running explain but I don't really understand it.
> >
> > I've posted the view and the output from explain at
> >
> > http://www1.ringways.co.uk/explain.txt
>
> Woah. That's an interesting plan.
>
> When concerned about execution time, it's probably best to post EXPLAIN
> ANALYZE rather than plain EXPLAIN results. EXPLAIN ANALYZE provides more
> timing information and information about how rowcount estimates differed
> from reality.
>
> --
> Craig Ringer

I've posted th explain analyze at

http://www1.ringways.co.uk/explain_analyse.txt

I've marked a line with a sort in that appears to be the bit that's taking the 
time.  Am I right?

Gary

-- 
Gary Stainburn
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


pgsql-sql by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Slow response in select
Next
From: Gary Stainburn
Date:
Subject: Re: Slow response in select