Re: Query is taking 5 HOURS to Complete on 8.1 version

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Query is taking 5 HOURS to Complete on 8.1 version
Дата
Msg-id 20070705180547.GN5500@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Query is taking 5 HOURS to Complete on 8.1 version  (smiley2211 <smiley2211@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: smiley2211
Дата:
Сообщение: Re: Query is taking 5 HOURS to Complete on 8.1 version
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: improvement suggestions for performance design