From: Kris Jurka <jurka@ejurka.com>
To: Jesper Pedersen <jews@vip.cybercity.dk>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL 8.2rc1 with JDBC/HEAD
Date: Fri, 01 Dec 2006 06:38:58 -0700
Message-ID: <45703072.5070109@ejurka.com> (raw)
In-Reply-To: <20061130144736.M88656@vip.cybercity.dk>
References: <20061130144736.M88656@vip.cybercity.dk>
Jesper Pedersen wrote:
>> 2) binary transfer - still needs some more work and testing. Will wait for 8.3.
>
> Please include in 8.2 driver default on -- or make a 550 release with it in.
> 8.3 is too long to wait for this kind of performance increase.
>
This makes some rather fundamental changes to how data is received and
given the complexity of some of these types (timestamps), this is not
something we want to rush into. Also the usage pattern that enables
binary transfer makes testing and debugging harder because a fetch can
work perfectly on the first attempt because it uses the text format and
only on the second fetch does it go wrong.
The actual performance increase depends on a specific usage pattern that
will not apply to many users. Statement pooling or an extra network
roundtrip to determine the result type prior to execute will be needed
to make full use of binary transfer. I wonder what percentage of users
will get gains from the current implementation?
Kris Jurka
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: jurka@ejurka.com, jews@vip.cybercity.dk
Subject: Re: PostgreSQL 8.2rc1 with JDBC/HEAD
In-Reply-To: <45703072.5070109@ejurka.com>
References: <20061130144736.M88656@vip.cybercity.dk> <45703072.5070109@ejurka.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