Re: PostgreSQL 8.2rc1 with JDBC/HEAD

From: Kris Jurka <jurka(at)ejurka(dot)com>
To: Jesper Pedersen <jews(at)vip(dot)cybercity(dot)dk>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.2rc1 with JDBC/HEAD
Date: 2006-12-01 13:38:58
Message-ID: 45703072.5070109@ejurka.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jan de Visser 2006-12-01 13:43:50 Re: Authentication trick
Previous Message Marcin Waldowski 2006-12-01 13:16:10 Locking on PGStream.ReceiveChar(PGStream.java:256)