pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Julien Patrouix <jpatroui@genoscope.cns.fr>
Cc: Bucky Jordan <bjordan@lumeta.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: jdbc driver performance TODO
Date: Sat, 28 Oct 2006 21:23:27 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0610282120420.1994@leary2.csoft.net> (raw)
In-Reply-To: <45433C4B.6020300@genoscope.cns.fr>
References: <78ED28FACE63744386D68D8A9D1CF5D4209E10@MAIL.corp.lumeta.com>
	<45433C4B.6020300@genoscope.cns.fr>



On Sat, 28 Oct 2006, Julien Patrouix wrote:

> In my opinion, improvements could be made in the encoding/decoding of the 
> protocole messages (Ie the PGStream class).
> From what I have seen thanks to a profiler some methods are over invoked, and 
> the numeric encoding is not as efficient as it could be.
> That numeric encoding/decoding is used very often, even for the protocole 
> purposes, not only for data encoding.
>
> Furthermore, it would be interesting not to use the java BufferedStream 
> implementation, and use a specific one so as to directly manage and access 
> the buffer.

This is what Mikko Tiihonen has done here and I intend to apply it next 
week.  http://archives.postgresql.org/pgsql-jdbc/2006-09/msg00163.php

> I use a driver I have optimized, and submitted these obervations a couple of 
> time to the list, but I'm really sorry I can't contribute more for a long 
> time I'm afraid

I've never seen a patch come across this list.  Could you retry or point 
me to an archives entry?

Kris Jurka



view thread (8+ messages)  latest in thread

Message-ID: <Pine.BSO.4.63.0610282120420.1994@leary2.csoft.net>
Permalink:  ../Pine.BSO.4.63.0610282120420.1994@leary2.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.63.0610282120420.1994@leary2.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, jpatroui@genoscope.cns.fr, bjordan@lumeta.com, simon@2ndquadrant.com
  Subject: Re: jdbc driver performance TODO
  In-Reply-To: <Pine.BSO.4.63.0610282120420.1994@leary2.csoft.net>
  References: <78ED28FACE63744386D68D8A9D1CF5D4209E10@MAIL.corp.lumeta.com> <45433C4B.6020300@genoscope.cns.fr> <Pine.BSO.4.63.0610282120420.1994@leary2.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox