Re: [PERFORM] Performance of Parser? - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: [PERFORM] Performance of Parser?
Date
Msg-id 07997618-2474-4A53-A2C4-692909335A3B@fastcrypt.com
Whole thread Raw
In response to Re: [PERFORM] Performance of Parser?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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
>


pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: Performance of Parser?
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Corrupt database? 8.1/FreeBSD6.0