pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <ringerc@ringerc.id.au>
Cc: Royce Ausburn <royce.ml@inomial.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Prepared statements and suboptimal plans
Date: Tue, 20 Sep 2011 20:36:35 -0400
Message-ID: <9289.1316565395@sss.pgh.pa.us> (raw)
In-Reply-To: <4E792417.5080205@ringerc.id.au>
References: <C38A9B65-3AEB-4AFC-AE49-8D61B2DEDF64@inomial.com>
	<4E792417.5080205@ringerc.id.au>

Craig Ringer <ringerc@ringerc.id.au> writes:
> On 21/09/2011 7:27 AM, Royce Ausburn wrote:
>> We've been worst hit by this query on an 8.3 site.  Another site is 
>> running 8.4.  Have there been improvements in this area recently? 
>> Upgrading to 9.0 might be viable for us.

> Tom just mentioned that 9.1 will be able to re-plan parameterized 
> prepared statements, so this issue will go away.

9.2, sorry, not 9.1.  We could use some motivated people testing that
aspect of GIT HEAD, though, since I doubt the policy for when to re-plan
is quite ideal yet.

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <9289.1316565395@sss.pgh.pa.us>
Permalink:  ../9289.1316565395@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9289.1316565395@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ringerc@ringerc.id.au, royce.ml@inomial.com
  Subject: Re: Prepared statements and suboptimal plans
  In-Reply-To: <9289.1316565395@sss.pgh.pa.us>

* 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