Re: setFetchSize

From: fschmidt <fschmidt(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: setFetchSize
Date: 2011-10-26 15:48:42
Message-ID: 1319644122794-4940158.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Dave Cramer-8 wrote:
>
> There is little hope that you will get what you want. I'm not even
> sure I think it's a good idea as cursor with hold consumes resources
> on the server which multiplied by an unknown number of connections
> might end up being significant.
>
And how is it any better to force users to open a new connection to use
setFetchSize? This would use just as much resources if not more, right? It
is just much more inconvenient for programmers, especially in applications
like mine that are designed to use one connection per thread.

If there is little hope of getting what I want with Postgres, then I will
eventually have to look for an alternative database.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/setFetchSize-tp4935215p4940158.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2011-10-26 19:18:09 Re: setFetchSize
Previous Message Dave Cramer 2011-10-26 08:28:35 Re: setFetchSize