Re: Out of memory error on huge resultset

Поиск
Список
Период
Сортировка
От Vincent Janelle
Тема Re: Out of memory error on huge resultset
Дата
Msg-id 20021011175319.68fc20c7.random@goblinstudios.com
обсуждение исходный текст
Ответ на Re: Out of memory error on huge resultset  ("Simpson, Mike W" <mike.simpson@pbs.proquest.com>)
Список pgsql-jdbc
But what if your data changes?

On Fri, 11 Oct 2002 15:49:42 -0600
"Simpson, Mike W" <mike.simpson@pbs.proquest.com> wrote:

> This definitely isn't my field, but in our code we're perfectly happy
> setting LIMIT and OFFSET.  In combination with stored procedures,
> performance is excellent.
>
> If you really want a driver change, wouldn't it be simpler to just append
> LIMIT and OFFSET?
> Anytime setFetchSize is called, just tack on
>     query+=" LIMIT "+getFetchSize()+" OFFSET "+rowPointer;
> and rs.next()/cursor code increment the rowPointer.
>
> Just my 2 cents...
> Mike
>

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

Предыдущее
От: "Simpson, Mike W"
Дата:
Сообщение: Re: Out of memory error on huge resultset
Следующее
От: snpe
Дата:
Сообщение: Re: Out of memory error on huge resultset