Re: Memcached for Database server - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: Memcached for Database server
Date
Msg-id 20110518.145909.779201810222127031.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: Memcached for Database server  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Memcached for Database server  (satoshi.nagayasu@gmail.com)
List pgsql-general
> How do you handle statements that rely on current_timestamp, random(),
> etc? What about if their reliance is via a function? Is that just an
> understood limitation of the cache, that it'll cache even queries that
> don't really make sense to cache?

Probably we should cache the result of a query which containts no
functions or a query which only contains immutable functions.

Also we should be carefull about views, which may be a result of non
immutable functions.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Can't unsubscribe
Next
From: satoshi.nagayasu@gmail.com
Date:
Subject: Re: Memcached for Database server