Re: Slow cursor

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Slow cursor
Дата
Msg-id 201110261510.46828.andres@anarazel.de
обсуждение исходный текст
Ответ на Slow cursor  ("Cezariusz Marek" <cezariusz.marek@comarch.pl>)
Список pgsql-performance
Hi,

On Wednesday 26 Oct 2011 14:43:08 Cezariusz Marek wrote:
> Is there any known problem with slow cursors in PostgreSQL 8.4.5?
>
> I have a following query, which is slow (on my database it takes 11 seconds
> to execute), probably should be rewritten, but it doesn't matter here. The
> problem is, that in cursor, each fetch takes much longer (even few
> minutes!), while only the first one should be slow. Am I doing something
> wrong?
Does the problem persist if you play around with cursor_tuple_fraction?

Andres

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

Предыдущее
От: "Cezariusz Marek"
Дата:
Сообщение: Re: Slow cursor
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Anti join miscalculates row number?