Re: Out of memory error on huge resultset - Mailing list pgsql-jdbc

From Vincent Janelle
Subject Re: Out of memory error on huge resultset
Date
Msg-id 20021011175319.68fc20c7.random@goblinstudios.com
Whole thread Raw
In response to Re: Out of memory error on huge resultset  ("Simpson, Mike W" <mike.simpson@pbs.proquest.com>)
List 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 by date:

Previous
From: "Simpson, Mike W"
Date:
Subject: Re: Out of memory error on huge resultset
Next
From: snpe
Date:
Subject: Re: Out of memory error on huge resultset