From: Guido Neitzer <guido.neitzer@gmail.com>
To: nilesh khode <nilesh_khode@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: DB Performance Tuning
Date: Tue, 5 Sep 2006 17:28:46 +0200
Message-ID: <fbbe50e0609050828q2bfd9779ye1e8c31f0fa4c243@mail.gmail.com> (raw)
In-Reply-To: <20060905150853.20091.qmail@web60521.mail.yahoo.com>
References: <20060905150853.20091.qmail@web60521.mail.yahoo.com>
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@yahoo.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
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-admin@postgresql.org
Cc: guido.neitzer@gmail.com, nilesh_khode@yahoo.com
Subject: Re: DB Performance Tuning
In-Reply-To: <fbbe50e0609050828q2bfd9779ye1e8c31f0fa4c243@mail.gmail.com>
References: <20060905150853.20091.qmail@web60521.mail.yahoo.com> <fbbe50e0609050828q2bfd9779ye1e8c31f0fa4c243@mail.gmail.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