我得到了很多次POSKeyError错误。我认为我们的设置不是足够的PostgreSQL参数。因为系统将存储从MySQL扩展到PostgreSQL。在成龙之前,我多次犯了这个错误。
请让我知道具体的设置或任何要点。
使用版本:
发布于 2015-11-24 08:01:58
以下是postgresql.conf中的一些PostgreSQL调优
# shared_buffers and effective_cache_size should be 30%-50%
# of your machine free memory
shared_buffers = 3GB
effective_cache_size = 2GB
checkpoint_segments = 64
checkpoint_timeout = 1h
max_locks_per_transaction = 512
max_pred_locks_per_transaction = 512
# If you know what you're doing you can uncomment and adjust the following values
#cpu_tuple_cost = 0.0030
#cpu_index_tuple_cost = 0.0001
#cpu_operator_cost = 0.0005以下是詹斯·W·克莱因( Jens W. Klein)的解释:
您还应该阅读Server
这是我们的buildout.cfg
[instance1]
recipe = plone.recipe.zope2instance
rel-storage =
type postgresql
host 10.11.12.13
dbname datafs
user zope
password secret
blob-dir /var/sharedblobstorage/blobs
blob-cache-size 350MB
poll-interval 0
cache-servers 10.11.12.14:11211
cache-prefix datafshttps://stackoverflow.com/questions/33885986
复制相似问题