From: Merlin Moncure <mmoncure@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bucky Jordan <bjordan@lumeta.com>
Cc: Rohit_Behl <Rohit_Behl@infosys.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Jdbc/postgres performance
Date: Wed, 18 Oct 2006 09:31:41 -0400
Message-ID: <b42b73150610180631v6b8e1796v43855baa8087979c@mail.gmail.com> (raw)
In-Reply-To: <16006.1161148779@sss.pgh.pa.us>
References: <b42b73150610171328r508ab94dmd70dac6ed78474aa@mail.gmail.com>
<78ED28FACE63744386D68D8A9D1CF5D4209D1C@MAIL.corp.lumeta.com>
<b42b73150610172041rf8ffb96n3d82cc191815370@mail.gmail.com>
<16006.1161148779@sss.pgh.pa.us>
On 10/18/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Merlin Moncure" <mmoncure@gmail.com> writes:
> > this is not really a jdbc issue, just a practical problem with
> > prepared statements...
>
> Specifically, that the OP is running a 7.4 backend, which was our
> first venture into prepared parameterized statements. PG 8.1 will
> do better, 8.2 should do better yet.
I haven't looked at 8.2 because I no longer work at my previous
position, but I was significantly affected by this problem through the
8.1 release. The speed advantages of preparing certain types queries
are dramatic and there are some decent use cases for pramaterizing
limit and other input parameters that are difficult to guess.
merlin
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-performance@postgresql.org
Cc: mmoncure@gmail.com, tgl@sss.pgh.pa.us, bjordan@lumeta.com, Rohit_Behl@infosys.com
Subject: Re: Jdbc/postgres performance
In-Reply-To: <b42b73150610180631v6b8e1796v43855baa8087979c@mail.gmail.com>
References: <b42b73150610171328r508ab94dmd70dac6ed78474aa@mail.gmail.com> <78ED28FACE63744386D68D8A9D1CF5D4209D1C@MAIL.corp.lumeta.com> <b42b73150610172041rf8ffb96n3d82cc191815370@mail.gmail.com> <16006.1161148779@sss.pgh.pa.us> <b42b73150610180631v6b8e1796v43855baa8087979c@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