Re: Prepared statements considered harmful

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: Prepared statements considered harmful
Дата
Msg-id 1157040848.3033.78.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Re: Prepared statements considered harmful  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Neither of these problems have anything to do with statistics getting
> stale.

... and the second one would benefit from a "meta-plan" facility which
puts some "meta-plan" nodes on top of specific plans to dispatch based
on parameter values at runtime.

Incidentally, the dispatch could check the statistics assumptions too.
If you don't need to do the planning for each execution, you could
afford to check the assumptions for each execution instead...

Cheers,
Csaba.




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Prepared statements considered harmful
Следующее
От: AgentM
Дата:
Сообщение: Re: Prepared statements considered harmful