[Pgpool-hackers] Progress report: on memory query cache

Tatsuo Ishii ishii at sraoss.co.jp
Mon Oct 3 06:29:36 UTC 2011


Hi,

Now cache on shmem is managed by a hash table which is on shmem as
well. Since shmem cannot be expanded dynamically, the max number of
entries in the hash table is also fixed. For this I have added new
directive called "memqcache_max_num_cache" which specifies the max
number of hash table entries. If the number of cache entries exceed
it, simply an error is triggered at this point. Maybe we could trash
away old cache entries and make a room to have hash entries in this
case.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


More information about the Pgpool-hackers mailing list