pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: fschmidt <fschmidt@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: setFetchSize
Date: Wed, 26 Oct 2011 08:48:42 -0700 (PDT)
Message-ID: <1319644122794-4940158.post@n5.nabble.com> (raw)
In-Reply-To: <CADK3HHKjj3KV-2y1mW0uPLVypPt+mRFtzukG7gPZgzWZCK_1Aw@mail.gmail.com>
References: <1319525123309-4935215.post@n5.nabble.com>
	<CA+0W9LNzqMnOHQsE+09tS14LL+B+Uu6+Ue1Ufvfb8=pgKbM7FA@mail.gmail.com>
	<1319573262782-4937529.post@n5.nabble.com>
	<28079.1319575241@sss.pgh.pa.us>
	<1319609361329-4938781.post@n5.nabble.com>
	<CADK3HHKjj3KV-2y1mW0uPLVypPt+mRFtzukG7gPZgzWZCK_1Aw@mail.gmail.com>


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.



view thread (40+ messages)  latest in thread

Message-ID: <1319644122794-4940158.post@n5.nabble.com>
Permalink:  ../1319644122794-4940158.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1319644122794-4940158.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: fschmidt@gmail.com
  Subject: Re: setFetchSize
  In-Reply-To: <1319644122794-4940158.post@n5.nabble.com>
  References: <1319525123309-4935215.post@n5.nabble.com> <CA+0W9LNzqMnOHQsE+09tS14LL+B+Uu6+Ue1Ufvfb8=pgKbM7FA@mail.gmail.com> <1319573262782-4937529.post@n5.nabble.com> <28079.1319575241@sss.pgh.pa.us> <1319609361329-4938781.post@n5.nabble.com> <CADK3HHKjj3KV-2y1mW0uPLVypPt+mRFtzukG7gPZgzWZCK_1Aw@mail.gmail.com> <1319644122794-4940158.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox