pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: postgres list <pgsql-sql@postgresql.org>
Subject: Re: Slow response in select
Date: Tue, 21 Sep 2010 15:35:24 +0100
Message-ID: <201009211535.24925.gary.stainburn@ringways.co.uk> (raw)
In-Reply-To: <201009211520.15903.gary.stainburn@ringways.co.uk>
References: <201009211325.55493.gary.stainburn@ringways.co.uk>
	<4C98BCFD.10202@postnewspapers.com.au>
	<201009211520.15903.gary.stainburn@ringways.co.uk>

On Tuesday 21 September 2010 15:20:15 Gary Stainburn wrote:
>
> 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?
>

I've had a look at this, and I can't even see why the sort is happeing. There 
are no order by clauses and only one group by clause in the sub-select. This 
group by only works on a very small dataset though.


-- 
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     



view thread (5+ messages)  latest in thread

Message-ID: <201009211535.24925.gary.stainburn@ringways.co.uk>
Permalink:  ../201009211535.24925.gary.stainburn@ringways.co.uk/
Also on:    postgresql.org/message-id/201009211535.24925.gary.stainburn@ringways.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: gary.stainburn@ringways.co.uk
  Subject: Re: Slow response in select
  In-Reply-To: <201009211535.24925.gary.stainburn@ringways.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox