From: Kris Jurka <books@ejurka.com>
To: emergency.shower@gmail.com <emergency.shower@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver
Date: Fri, 5 Oct 2012 20:43:58 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1210052042290.25941@leary.csoft.net> (raw)
In-Reply-To: <CACLs3uCrjXaY94ivGQgoXDfe-2dwxwsHdPXrA3ey+eL7TPQEJA@mail.gmail.com>
References: <CACLs3uCrjXaY94ivGQgoXDfe-2dwxwsHdPXrA3ey+eL7TPQEJA@mail.gmail.com>
On Fri, 5 Oct 2012, emergency.shower@gmail.com wrote:
> after the upgrade the latest PortgreSQL 9.2-1000 JDBC 4 driver, we
> discovered a severe performance degradation when connecting to 8.4,
> 9.0, 9.1, and 9.2 servers. In a test application the
> DriverManager#getConnection(String, String, String) call constantly
> took > 4500 ms compared to < 20 ms with the previous 9.1-903 JDBC 4
> driver. This makes the driver virtually unusable in production
> environments.
Can you show us the connection URL that you are using? Are you using SSL?
It appears that some of the 9.2 changes may require a DNS lookup that they
didn't before and you might be getting a timeout there. Any DNS issues on
your side?
Kris Jurka
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, emergency.shower@gmail.com
Subject: Re: Severe performance degradation when using the 9.2-1000 JDBC 4 driver
In-Reply-To: <alpine.BSO.2.00.1210052042290.25941@leary.csoft.net>
References: <CACLs3uCrjXaY94ivGQgoXDfe-2dwxwsHdPXrA3ey+eL7TPQEJA@mail.gmail.com> <alpine.BSO.2.00.1210052042290.25941@leary.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