Re: clear function cache (WAS: SQL function inlining)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: clear function cache (WAS: SQL function inlining)
Дата
Msg-id 20050324134240.GD20726@dcc.uchile.cl
обсуждение исходный текст
Ответ на clear function cache (WAS: SQL function inlining)  (Enrico Weigelt <weigelt@metux.de>)
Ответы Re: clear function cache (WAS: SQL function inlining)
Список pgsql-performance
On Thu, Mar 24, 2005 at 02:32:48PM +0100, Enrico Weigelt wrote:

> BTW: is it possible to explicitly clear the cache for immutable
> functions ?

What cache?  There is no caching of function results.

> I'd like to use immutable functions for really often lookups like
> fetching a username by uid and vice versa. The queried tables
> change very rarely, but when they change is quite unpredictable.

Maybe you should use a stable function if you fear we'll having function
result caching without you noticing.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Aprende a avergonzarte más ante ti que ante los demás" (Demócrito)

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

Предыдущее
От: Enrico Weigelt
Дата:
Сообщение: clear function cache (WAS: SQL function inlining)
Следующее
От: Enrico Weigelt
Дата:
Сообщение: Re: View columns calculated