Re: Does iscachable work?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does iscachable work?
Дата
Msg-id 18025.1014400939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Does iscachable work?  (root <ffabrizio@mmrd.com>)
Список pgsql-general
root <ffabrizio@mmrd.com> writes:
> I'm running PostgreSQL 7.1.3, and I have a query that uses one of my
> functions:

> select findregion(entityid) from msg200;

> The findregion function is set to be 'with (iscachable)'.  However, the
> query takes upwards of 40 seconds to run, the first time and every time
> thereafter, consistently.  It doesn't seem like the caching is working.

I'm not sure what you think "iscachable" does ... but there certainly is
not a cache that remembers the results of functions across statements.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How does Index Scan get used
Следующее
От: tony
Дата:
Сообщение: Re: moving to 7.2