Re: memcached and PostgreSQL - Mailing list pgsql-performance

From Josh Berkus
Subject Re: memcached and PostgreSQL
Date
Msg-id 200411162147.54831.josh@agliodbs.com
Whole thread Raw
In response to memcached and PostgreSQL  (Michael Adler <adler@pobox.com>)
Responses Re: memcached and PostgreSQL  (Greg Stark <gsstark@mit.edu>)
List 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 by date:

Previous
From: Don Drake
Date:
Subject: Table Partitions: To Inherit Or Not To Inherit
Next
From: Josh Berkus
Date:
Subject: Re: Table Partitions: To Inherit Or Not To Inherit