forked from cosent/plonesocial.microblog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ZODB.txt
27 lines (19 loc) · 775 Bytes
/
ZODB.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
TODO
====
Prototype and script a way to use a separate ZODB. Quote Maurits:
app.quickstorage should be a mount point for a separate
database, where the instance in buildout should have code like
this:
zope-conf-additional =
<zodb_db quick>
mount-point /quickstorage:/
cache-size 20000
<filestorage catalog>
path ${buildout:directory}/var/filestorage/quick.fs
</filestorage>
</zodb_db>
Then add the ZODB Mount Point manually in the ZMI.
Then in a 'bin/instance debug' session do this:
from BTrees.OOBTree import OOBTree
app.quickstorage.tree = OOBTree()
#tree = self.context.quickstorage