Re: Prepared statements slow in 9.2 still (bad query plan)

Поиск
Список
Период
Сортировка
От Shaun Thomas
Тема Re: Prepared statements slow in 9.2 still (bad query plan)
Дата
Msg-id 508E83BB.4060101@optionshouse.com
обсуждение исходный текст
Ответ на Re: Prepared statements slow in 9.2 still (bad query plan)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "ktm@rice.edu"
Дата:
Сообщение: Re: Replaying 48 WAL files takes 80 minutes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Replaying 48 WAL files takes 80 minutes