Re: named cache

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: named cache
Дата
Msg-id 457000E5.7010306@archonet.com
обсуждение исходный текст
Ответ на named cache  (Matthew Peter <survivedsushi@yahoo.com>)
Список pgsql-general
Matthew Peter wrote:
> Is it possible to put an query result into memory? Like SELECT * from table WHERE
> [...] CACHE cache_name TIMEOUT '1 hour'::interval; So if "cache_name" exists with
> the same SQL statement, the result would be fetched from the cache, refreshing and
> updating the cache with fresh results when it expires? Reducing disk reads, query
> times, etc.

No. That's not something PG does internally.

Sounds like you might want to look at memcached/pgmemcached.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: initdb problem on Windows XP Home
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Separation of clients' data within a database