Re: Prepared statements considered harmful

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Prepared statements considered harmful
Дата
Msg-id 1157026279.3033.22.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Prepared statements considered harmful  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Prepared statements considered harmful
Список pgsql-hackers
> - Redefine "prepared" to mean "parsed" rather than "parsed and planned".

How about "prepared" means really "prepared"... in the sense of parsed,
analyzed all sensible plans, and save a meta-plan which based on current
statistics and parameter values chooses one of the considered (and
cached) plans ?

That would be immune both to statistics changes and parameter value
changes in certain limits. It would be also a lot more complex too than
a simple plan...

Cheers,
Csaba.






В списке pgsql-hackers по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Prepared statements considered harmful
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: Prepared statements considered harmful