From: Alvaro Herrera <alvherre@commandprompt.com>
To: smiley2211 <smiley2211@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query is taking 5 HOURS to Complete on 8.1 version
Date: Thu, 5 Jul 2007 14:05:47 -0400
Message-ID: <20070705180547.GN5500@alvh.no-ip.org> (raw)
In-Reply-To: <11451397.post@talk.nabble.com>
References: <11416966.post@talk.nabble.com>
<11451397.post@talk.nabble.com>
smiley2211 wrote:
>
> Hello all,
>
> I've made the changes to view to use UNION ALL and the where NOT IN
> suggestions...the query now takes a little under 3 hours instead of 5 --
> here is the EXPLAIN ANALYZE:
It seems you have disabled nested loops --- why? Try turning them back
on and let us see the EXPLAIN ANALYZE again.
It would be extremely helpful if you saved it in a file and attached it
separately so that the indentation and whitespace is not mangled by your
email system. It would be a lot more readable that way.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: alvherre@commandprompt.com, smiley2211@yahoo.com
Subject: Re: Query is taking 5 HOURS to Complete on 8.1 version
In-Reply-To: <20070705180547.GN5500@alvh.no-ip.org>
References: <11416966.post@talk.nabble.com> <11451397.post@talk.nabble.com> <20070705180547.GN5500@alvh.no-ip.org>
* 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