Re: Very slow queries - please help.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Very slow queries - please help.
Дата
Msg-id 13626.1132845335@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Very slow queries - please help.  ("Bealach-na Bo" <bealach_na_bo@hotmail.com>)
Список pgsql-performance
"Bealach-na Bo" <bealach_na_bo@hotmail.com> writes:
> I'm having great difficulties getting the performance I had hoped for
> from Postgresql 8.0. The typical query below takes ~20 minutes !!

You need to show us the table definition (including indexes) and the
EXPLAIN ANALYZE results for the query.

It seems likely that the NOT IN is the source of your problems,
but it's hard to be sure without EXPLAIN results.

            regards, tom lane

В списке pgsql-performance по дате отправления:

Предыдущее
От: Guillaume Smet
Дата:
Сообщение: Re: Very slow queries - please help.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: xlog flush request error