From: Dave Cramer <pg@fastcrypt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jignesh Shah <J.K.Shah@Sun.COM>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: Performance of Parser?
Date: Sat, 13 Jan 2007 22:08:57 -0500
Message-ID: <07997618-2474-4A53-A2C4-692909335A3B@fastcrypt.com> (raw)
In-Reply-To: <28391.1168734268@sss.pgh.pa.us>
References: <45A96D70.90506@sun.com>
<28391.1168734268@sss.pgh.pa.us>
On 13-Jan-07, at 7:24 PM, Tom Lane wrote:
> Jignesh Shah <J.K.Shah@Sun.COM> writes:
>> The appserver is basically using bunch of prepared statements that
>> the
>> server should be executing directly without doing the parsing again.
>
> Better have another look at that theory, because you're clearly
> spending
> a lot of time in parsing (operator resolution to be specific). I
> think
> your client code is failing to re-use prepared statements the way you
> think it is.
This is exactly what is happening. The driver needs to cache
statements for this to work.
Dave
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that
> your
> message can get through to the mailing list cleanly
>
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: pg@fastcrypt.com, tgl@sss.pgh.pa.us, J.K.Shah@Sun.COM, pgsql-hackers@postgresql.org
Subject: Re: Performance of Parser?
In-Reply-To: <07997618-2474-4A53-A2C4-692909335A3B@fastcrypt.com>
References: <45A96D70.90506@sun.com> <28391.1168734268@sss.pgh.pa.us> <07997618-2474-4A53-A2C4-692909335A3B@fastcrypt.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