| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | smiley2211 <smiley2211(at)yahoo(dot)com> |
| Cc: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: Query is taking 5 HOURS to Complete on 8.1 version |
| Date: | 2007-07-05 18:05:47 |
| Message-ID: | 20070705180547.GN5500@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2007-07-05 18:39:51 | Re: improvement suggestions for performance design |
| Previous Message | smiley2211 | 2007-07-05 17:49:24 | Re: Query is taking 5 HOURS to Complete on 8.1 version |