Re: [HACKERS] Binary Cursors, and the COPY command

Поиск
Список
Период
Сортировка
От Thomas Hallgren
Тема Re: [HACKERS] Binary Cursors, and the COPY command
Дата
Msg-id thhal-0Q9bhAYd/UNsDDyjznLWQVb9lU3V0FY@mailblocks.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Binary Cursors, and the COPY command  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Oliver Jowett wrote:

> What features of 1.4 were you thinking of exploiting?

Well, the java.nio obviously :-)

java.nio provides a java.nio.CharBuffer. A java.lang.StringBuffer is
synchronized. The CharBuffer is not. Since the JDBC driver uses strings
in a lot of places some code could be rewritten to increase performance.

And I think that Mark (pgsql@mohawksoft.com) has a point. 90% of all
installations would get a performance boost if native byte order was
used. IMHO, it's all about an initial protocoll negotiation (which of
course must be done in network byte order).

Regards,

Thomas Hallgren



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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: [HACKERS] Binary Cursors, and the COPY command
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: [HACKERS] Binary Cursors, and the COPY command