Re: memcached and PostgreSQL

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: memcached and PostgreSQL
Дата
Msg-id 200411162147.54831.josh@agliodbs.com
обсуждение исходный текст
Ответ на memcached and PostgreSQL  (Michael Adler <adler@pobox.com>)
Ответы Re: memcached and PostgreSQL  (Greg Stark <gsstark@mit.edu>)
Список pgsql-performance
Michael,

> So What does memcached offer pgsql users? It would still seem to offer
> the benefit of a multi-machined cache.

Yes, and a very, very fast one too ... like, 120,000 operations per second.
PostgreSQL can't match that because of the overhead of authentication,
security, transaction visibility checking, etc.

So memcached becomes a very good place to stick data that's read often but not
updated often, or alternately data that changes often but is disposable.   An
example of the former is a user+ACL list; and example of the latter is web
session information ... or simple materialized views.

--
Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: Don Drake
Дата:
Сообщение: Table Partitions: To Inherit Or Not To Inherit
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Table Partitions: To Inherit Or Not To Inherit