simple ZODB performance settings
The use of the database can be optimized by using a bigger cache in the client.
For a single zope instance without a zeo server this can be done by increasing the number of cached objects.
The cache.size parameter in etc/local.conf must be set (default is 5000) :
cache-size 50000
path $DATADIR/Data.fs
The default size of 5000 is no longer usefull for a database with 200000 objects.
For a zeo client it is possible to configurate the client cache memory size :
server localhost:8101 storage 1
# ZEO client cache, in bytes
cache-size 300MB
# Uncomment to have a persistent disk cache
#client zeo1
The size should be set to a high value because otherwise a lot of network traffic is created between zeo and the client, this is also true if the client and zeo is on the same machine using localhost for the connection.