Re: Cursor-based results: bafflingly slow

Поиск
Список
Период
Сортировка
От Robin Houston
Тема Re: Cursor-based results: bafflingly slow
Дата
Msg-id 1b795e7b0907030738v67964f36ic4bbbf39ace0e5af@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Cursor-based results: bafflingly slow  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
2009/7/3 Tom Lane <tgl@sss.pgh.pa.us>
You need to use a cursor for that.  The problem with the fetchsize
mechanism is that it doesn't give the planner any clue that the user
might not intend to fetch the whole result, or might prefer low startup
cost to low total cost anyway.

Thank you very much (and Oliver too). That's what I needed to know. I'll change my code to use explicit cursors.

Robin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cursor-based results: bafflingly slow
Следующее
От: Jamie D
Дата:
Сообщение: setQueryTimeout