pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Duffey <tduffey@techbydesign.com>
To: pgsql-jdbc@postgresql.org
Subject: Slow query after upgrades
Date: Thu, 13 Dec 2007 15:15:19 -0600
Message-ID: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com> (raw)

Hi All,

We recently upgraded both our PostgreSQL server version (8.1.10 to  
8.2.5) and JDBC driver version (pg74.216.jdbc3, yeah, I know... to  
8.2-507 JDBC4).  Our application has several components and all but  
one are working great.  Unfortunately, one of them is running much  
slower when I use the new JDBC driver.  If I leave everything else  
exactly the same but roll back to the pg74.216.jdbc3 driver  
performance improves quite a bit.  By quite a bit I mean a process  
that takes about 15 minutes to run with the old JDBC driver takes over  
an hour and a half with the new driver.

I'm leaving the old JDBC driver there for now but am wondering if  
anyone has any ideas what I should look for to find a solution to  
this?  I jProfiled the execution and it is indeed the JDBC query that  
is taking significantly more time to execute with the newer driver in  
place.

Best Regards,

Tom



view thread (22+ messages)  latest in thread

Message-ID: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com>
Permalink:  ../3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com/
Also on:    postgresql.org/message-id/3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com

 · 

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: tduffey@techbydesign.com
  Subject: Re: Slow query after upgrades
  In-Reply-To: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.com>
  References: <3EB52707-C945-43D6-9B3F-15F3B228D6F6@techbydesign.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