Re: DB Performance Tuning

From: "Guido Neitzer" <guido(dot)neitzer(at)gmail(dot)com>
To: "nilesh khode" <nilesh_khode(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: DB Performance Tuning
Date: 2006-09-05 15:28:46
Message-ID: fbbe50e0609050828q2bfd9779ye1e8c31f0fa4c243@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

HI.

Can you try (just for testing) using a jdbc2 driver and a connection
string with "protocolVersion=2" included in the jdbc connection?

I had the same issue with this and the problem is, that the query
optimizer sometimes decides NOT to use indexes on prepared statements
(the newer JDBC drivers create use them) and bound variables.

I have a solution now for WebObjects but this might not help you.

cug

2006/9/5, nilesh khode <nilesh_khode(at)yahoo(dot)com>:

> But same I tested with JDBC, the query requires more time as compared with
> existing server.

--
PostgreSQL Bootcamp, Big Nerd Ranch Europe, Nov 2006
http://www.bignerdranch.com/news/2006-08-21.shtml

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Josef Springer 2006-09-05 15:45:10 Database Service does not start
Previous Message romje 2006-09-05 15:24:31 Re: DB Performance Tuning