Re: Slow query after upgrades - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Slow query after upgrades
Date
Msg-id 4761BACA.4020008@opencloud.com
Whole thread Raw
In response to Re: Slow query after upgrades  (Tom Duffey <tduffey@techbydesign.com>)
Responses Re: Slow query after upgrades
Re: Slow query after upgrades
List pgsql-jdbc
Tom Duffey wrote:

> This makes a huge difference, thanks.  However, is there anything I can
> do to help improve the performance of that query when using a newer
> protocol?

We need to work out what is going wrong under the newer protocol first,
which unfortunately can be a bit tricky because psql doesn't use the
query protocol in the same way as the JDBC driver.

Can you write a little JDBC app that runs the query with EXPLAIN
ANALYZE, setting parameters in the same way that your real app does, and
dump out the resultset it gets back? (which should be the EXPLAIN
results rather than the real data, IIRC)

-O

pgsql-jdbc by date:

Previous
From: Tom Duffey
Date:
Subject: Re: Slow query after upgrades
Next
From: Tom Duffey
Date:
Subject: Re: Slow query after upgrades