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

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org, pgsql(at)mohawksoft(dot)com
Subject: Re: [HACKERS] Binary Cursors, and the COPY command
Date: 2004-07-27 11:28:55
Message-ID: thhal-0Q9bhAYd/UNsDDyjznLWQVb9lU3V0FY@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)mohawksoft(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2004-07-27 11:30:04 Re: Binary Cursors, and the COPY command
Previous Message Thomas Hallgren 2004-07-27 10:41:49 Re: Binary Cursors, and the COPY command

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2004-07-27 11:30:04 Re: Binary Cursors, and the COPY command
Previous Message Thomas Hallgren 2004-07-27 10:41:49 Re: Binary Cursors, and the COPY command