Search Postgresql Archives

Re: Memcached for Database server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux