Re: Disk buffering of resultsets

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Disk buffering of resultsets
Дата
Msg-id 542091F0.10706@hogranch.com
обсуждение исходный текст
Ответ на Re: Disk buffering of resultsets  ("Lussier, Denis" <denisl@openscg.com>)
Ответы Re: Disk buffering of resultsets  (Dave Cramer <pg@fastcrypt.com>)
Re: Disk buffering of resultsets  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Disk buffering of resultsets  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-jdbc
On 9/22/2014 2:04 PM, Lussier, Denis wrote:
> I like Craig's idea to use the jdk7 temp file handling.   I propose to
> this project keep it simple (at least at first) and start with this as
> a jdbc41 only feature.
>
> Many people use pgjdbc for OLTP style transactions and wouldn't ever
> want to spill to disk.   This is why (IMHO) the algorithm that
> determines under which stress
> condition this feature uses (assuming it is enabled) is so critical.
>

this still won't address the issue that the postgresql server itself
ALSO marshals the entire result set into ITS memory before sending it to
the client.   Really, using cursors for large result-sets is the correct
way to go.



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Disk buffering of resultsets
Следующее
От: "Lussier, Denis"
Дата:
Сообщение: Re: Disk buffering of resultsets