Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Tue, 27 Jul 2004 13:28:55 +0200
  • Message-id: <thhal-0Q9bhAYd/UNsDDyjznLWQVb9lU3V0FY@mailblocks.com> <text/plain>

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





Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group