Re: Binary protocol support for JDBC

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Binary protocol support for JDBC
Дата
Msg-id alpine.BSO.2.00.1007201518220.19403@leary.csoft.net
обсуждение исходный текст
Ответ на Binary protocol support for JDBC  (Radosław Smogura <rsmogura@softperience.eu>)
Ответы Re: Binary protocol support for JDBC
Re: Binary protocol support for JDBC
Re: Binary protocol support for JDBC
Список pgsql-jdbc

On Tue, 20 Jul 2010, Rados?aw Smogura wrote:

> I partially, and for "test", implemented retrieval data in binary mode
> (instead of text mode) for some Jdbc2 types, because I see great performance
> boost (25% - 50%) on implemented types I think about including this work to
> main JDBC branch.

Are you aware of the existing work in this area?

http://wiki.postgresql.org/wiki/JDBC-BinaryTransfer

> This should be done without problem, because I added binary parameter to
> Connection and Datasources, so user can decide to use binary mode
> retrieve or current text mode (default). Currently I implemented
> retrieve of short, int, long, date and BigDecimal. Other simple and
> basic types, used in typically application I will implement shortly.
>

One of the difficulties in the existing patch is knowing when to request
binary transfer and when to request text transfer because for the first
execution the datatypes are not known.  How have you addressed
this problem?

Kris Jurka


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Binary protocol support for JDBC
Следующее
От: Florence Cousin
Дата:
Сообщение: Patch for the documentation (PGResultSetMetaData)