From: Craig Ringer <craig@postnewspapers.com.au>
To: Gary Stainburn <gary.stainburn@ringways.co.uk>
Cc: postgres list <pgsql-sql@postgresql.org>
Subject: Re: Slow response in select
Date: Tue, 21 Sep 2010 22:11:09 +0800
Message-ID: <4C98BCFD.10202@postnewspapers.com.au> (raw)
In-Reply-To: <201009211325.55493.gary.stainburn@ringways.co.uk>
References: <201009211325.55493.gary.stainburn@ringways.co.uk>
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
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: craig@postnewspapers.com.au, gary.stainburn@ringways.co.uk
Subject: Re: Slow response in select
In-Reply-To: <4C98BCFD.10202@postnewspapers.com.au>
* 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