Does iscachable work?

Поиск
Список
Период
Сортировка
От Fran Fabrizio
Тема Does iscachable work?
Дата
Msg-id 3C7663DC.5060409@mmrd.com
обсуждение исходный текст
Список pgsql-general
Hello,

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 then every
time thereafter, consistently.  The table only has 20000 rows or so.  It
doesn't seem like the caching is working.

The only other time I tried to use function results caching, it actually
consistently increased my execution time.  Anything I need to be doing
differently?

Thanks,
Fran



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

Предыдущее
От: tony
Дата:
Сообщение: Re: Protection of intellectual property (Schema & SQL
Следующее
От: Holger Marzen
Дата:
Сообщение: Re: How does Index Scan get used