ZODBCache
last edited 7 years ago
ZODB のキャッシュの殖やしかた。
Zope 2.6 のときには、簡単にZMI からできたのですが、2.7 では zope.conf の中で設定する
必要があります。んでもって、面倒なので、そのままコピペ。
# Database (zodb_db) section
#
# Description:
# A database section allows the definition of custom database and
# storage types. More than one zodb_db section can be defined.
#
# Default: unset.
# IMPORTANT: At least one database with a mount-point of "/"
# must be specified for Zope to start properly.
<zodb_db main>
# Main FileStorage database
<filestorage>
path $INSTANCE/var/Data.fs
</filestorage>
mount-point /
cache-size 10000
</zodb_db>
<zodb_db temporary>
# Temporary storage database (for sessions)
<temporarystorage>
name temporary storage for sessioning
</temporarystorage>
mount-point /temp_folder
cache-size 10000
container-class Products.TemporaryFolder.TemporaryContainer
</zodb_db>
From unknown Wed Sep 8 15:51:13 +0900 2004
From:
Date: Wed, 08 Sep 2004 15:51:13 +0900
Subject: 参考サイト
Message-ID: <+0900@ns.jk.to>
"ZODB How-To":http://wiki.zope.jp/ZODB%20How-To