Personal tools
You are here: Home Wiki ZODBCache

ZODBCache

Document Actions
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
 
そちらのOSの時刻なので 正確性はあなた次第
 
こういう意味のないの好き
 
本をお勧め中
 
CDもお勧め中
のだめカンタービレ ベスト100
ドラマの演奏とは違います。でもこの感じでこの価格ならアリかと
 
消耗品や家電
 
よく使うサイト
社名ロゴ88×631
 
ぐぐってみる
 
誰が使うんだろう
 

Powered by Plone