Re: Why not cache stable functions?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Why not cache stable functions?
Дата
Msg-id 20050415170850.GA7635@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Why not cache stable functions?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Apr 15, 2005 at 12:54:24PM -0400, Tom Lane wrote:
> falcon <falcon@intercable.ru> writes:
> > I think It would be useful to cache return values for stable
> > and immutable functions. Now thay are really called everytime.
> 
> In most circumstances the overhead of searching such a cache would swamp
> any benefit we might get from it.

Maybe falcon would benefit from using pgmemcache in the first place ...

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"No es bueno caminar con un hombre muerto"


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Why not cache stable functions?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Kerberos patch in the queue