Re: Help with retrieving large results sets and memory usage.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Help with retrieving large results sets and memory usage.
Дата
Msg-id 19301.1061261406@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Help with retrieving large results sets and memory usage.  (Peter.Rupp@ual.com)
Список pgsql-interfaces
Peter.Rupp@ual.com writes:
> When using either interface, I notice that when I select rows from a
> table, it appears that the client interface retrieves  the entire
> results set at once...and loads it into memory on the client machine.   

The standard answer is to use a cursor and FETCH a few rows at a time.

>     Do you folks publish the network symantics and protocols used to
> make sql requests and retrieve their results?

http://developer.postgresql.org/docs/postgres/protocol.html
        regards, tom lane


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

Предыдущее
От: Peter.Rupp@ual.com
Дата:
Сообщение: Help with retrieving large results sets and memory usage.
Следующее
От: Ryan Mooney
Дата:
Сообщение: ECPG Connect user :variable problem