Re: Query is taking 5 HOURS to Complete on 8.1 version - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Query is taking 5 HOURS to Complete on 8.1 version
Date
Msg-id 20070705180547.GN5500@alvh.no-ip.org
Whole thread Raw
In response to Re: Query is taking 5 HOURS to Complete on 8.1 version  (smiley2211 <smiley2211@yahoo.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: smiley2211
Date:
Subject: Re: Query is taking 5 HOURS to Complete on 8.1 version
Next
From: Heikki Linnakangas
Date:
Subject: Re: improvement suggestions for performance design