Re: Re: JDBC Performance

From: Gunnar R|nning <gunnar(at)candleweb(dot)no>
To: Peter Mount <peter(at)retep(dot)org(dot)uk>
Cc: kientzle(at)acm(dot)org, PostgreSQL general mailing list <pgsql-general(at)postgresql(dot)org>, "Keith L(dot) Musser" <kmusser(at)idisys(dot)com>
Subject: Re: Re: JDBC Performance
Date: 2000-10-02 18:25:52
Message-ID: x6aecnumkv.fsf@thor.candleweb.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Mount <peter(at)retep(dot)org(dot)uk> writes:

>
> For JDBC2, I'm planning (may get done for 7.1) an alternate ResultSet
> class that uses cursors. This would speed things up as the entire
> resultset isn't received in one go. That's the biggest bottleneck of them
> all.
>

I would think this depends on the queries you execute. Is it any overhead on
the backend side related to retrieving results through the use of
cursors(ignoring the extra bytes sent) ?

If you only use a fragment of the data in the result set this method would
of course be faster, but in other situations I'm concerned that you will
only add overhead to the ResulSet.next() method(with familiy). But you
mentioned alternate implementation, so that would probably mean that the
user can choose the appropriate implementation for his application ?

Regards,

Gunnar

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gunnar R|nning 2000-10-02 18:28:43 Re: Re: JDBC Performance
Previous Message Gunnar R|nning 2000-10-02 18:20:05 Re: Re: JDBC Performance