From: j.random.programmer <javadesigner@yahoo.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Some more profiling hotspots
Date: Wed, 23 Aug 2006 20:03:42 -0700 (PDT)
Message-ID: <20060824030342.82518.qmail@web32003.mail.mud.yahoo.com> (raw)
In-Reply-To: <44ECD22D.8080407@opencloud.com>
Oliver:
> j.random.programmer wrote:
> > As per my previous email, the biggest JDBC driver
> > bottleneck is in:
>
Just some PreparedStatements to get data from the
databa,
run under JProfiler. JProfiler really rocks (I have no
financial interest
in the company, just a very satisfied user, its waaay
better than
JProbe/OptimizeIt used to be, many years ago).
At the core, the code simply uses connections are
pooled. I
consistently get very high usage, via new string
creation in the:
org.postgresql.core.Encoding.decode
method.
If you don't have JProfiler yourself, I'd be happy to
profile any other
code you want to send my way.
Of course, I should try to grok the driver code and
post a patch but
that's probably beyond my ability... :-)
Best regards,
--j
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
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: javadesigner@yahoo.com, oliver@opencloud.com
Subject: Re: Some more profiling hotspots
In-Reply-To: <20060824030342.82518.qmail@web32003.mail.mud.yahoo.com>
References: <44ECD22D.8080407@opencloud.com> <20060824030342.82518.qmail@web32003.mail.mud.yahoo.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