pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC gripe list
Date: Sun, 27 Mar 2011 17:19:45 +0200
Message-ID: <imnki7$u0f$1@dough.gmane.org> (raw)
In-Reply-To: <AANLkTi=MMJk-8R38V2RGYKuqwZCeFZfA1fzM8bwKeBGd@mail.gmail.com>
References: <4D8EF5E5020000250003BCA3@gw.wicourts.gov>
	<AANLkTi=MMJk-8R38V2RGYKuqwZCeFZfA1fzM8bwKeBGd@mail.gmail.com>

Oliver Jowett wrote on 27.03.2011 16:15:
>> At the top of my list is the need to use a cursor to avoid
>> materializing the entire result set in heap during execution of an
>> execute method.  Pulling data off the wire should be done in
>> ResultSet.next() method.
>
> Do you mean something beyond the batching you can do by setting a
> suitable fetchsize?
> Or do you mean you want to lift the restrictions on when that batching
> can actually be used?
> Or something else?
>
I agree with Dave here.

Having a default that prevent the entire result to be loaded into the client memory does make a lot of sense to me.

Regards
Thomas




view thread (65+ messages)  latest in thread

Message-ID: <imnki7$u0f$1@dough.gmane.org>
Permalink:  ../imnki7$u0f$1@dough.gmane.org/
Also on:    postgresql.org/message-id/imnki7$u0f$1@dough.gmane.org

 · 

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: spam_eater@gmx.net
  Subject: Re: JDBC gripe list
  In-Reply-To: <imnki7$u0f$1@dough.gmane.org>
  References: <4D8EF5E5020000250003BCA3@gw.wicourts.gov> <AANLkTi=MMJk-8R38V2RGYKuqwZCeFZfA1fzM8bwKeBGd@mail.gmail.com> <imnki7$u0f$1@dough.gmane.org>

* 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