Re: Prepared statements slow in 9.2 still (bad query plan) - Mailing list pgsql-performance

From Shaun Thomas
Subject Re: Prepared statements slow in 9.2 still (bad query plan)
Date
Msg-id 508E83BB.4060101@optionshouse.com
Whole thread Raw
In response to Re: Prepared statements slow in 9.2 still (bad query plan)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On 10/28/2012 10:06 AM, Tom Lane wrote:

> 9.2 will only pick the "right" plan if that plan's estimated cost is a
> good bit cheaper than the "wrong" parameterized plan.

Is it also possible that the planner differences between extended and
simple query mode caused this? That really bit us in the ass until
EnterpriseDB sent us a patch. From browsing the threads, didn't someone
say a similar problem existed in PG core?

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-444-8534
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


pgsql-performance by date:

Previous
From: "ktm@rice.edu"
Date:
Subject: Re: Replaying 48 WAL files takes 80 minutes
Next
From: Alvaro Herrera
Date:
Subject: Re: Replaying 48 WAL files takes 80 minutes