From: Oliver Jowett <oliver@opencloud.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Room to optimize updates through ResultSet
Date: Thu, 24 Nov 2005 12:22:46 +1300
Message-ID: <4384F9C6.90502@opencloud.com> (raw)
In-Reply-To: <43849CD80200002500000910@gwmta.wicourts.gov>
References: <43849CD80200002500000910@gwmta.wicourts.gov>
Kevin Grittner wrote:
> I'm not really complaining, since PostgreSQL is significantly faster on
> these updates than another product (for which the license agreement
> prohibits posting benchmarks without their approval); but, it does seem
> that there is room to optimize this if anyone is so inclinded. (I may
> look at it myself some day, but there are other issues that matter much
> more to me, so not soon.)
>
> (1) I would think the creation of the exception could be eliminated.
> There is no exceptional situation here.
Yeah. Patch? :)
(the only reason it gets logged is that the implementation of
java.sql.SQLException logs on construction -- i.e. we can't avoid
logging every exception we create..)
> (2) It seems like it might be possible to avoid some round trips here,
> although I haven't looked at the issues in detail.
What specifically? IIRC we're piggybacking on the metadata code which
already has lots of server-version-specific logic in it .. we don't
really want to duplicate that logic.
-O
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: oliver@opencloud.com, Kevin.Grittner@wicourts.gov
Subject: Re: Room to optimize updates through ResultSet
In-Reply-To: <4384F9C6.90502@opencloud.com>
References: <43849CD80200002500000910@gwmta.wicourts.gov> <4384F9C6.90502@opencloud.com>
* 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