How to pack blobstorage with Plone and RelStorage

情到浓时终转凉″ 提交于 2021-02-10 05:31:19

问题


I have run zodbpack on my local build and reduced my data.fs and blobstorage significantly (like to <50%).

When i run zodbpack on the test server the postgres 'zodb' database packs and comes down in size, but the blobstorage doesnt budge in size.

I've tried running it with every combo of

blob-dir /mnt/drbd/blobstorage

I can think of, but it doesnt budge.

Can it be packed?

RelStorage = 1.5.1

I'm considering upgarding RelStorage to 1.6.0, not sure if that will help.

Update:

Now running relstorage locally, I also see the same behaviour... database packs, blobs don't clean up.

$ bin/zodbpack -d 7 zodbpack-conf.xml

zodbpack-conf.xml

<relstorage>

pack-gc false

blob-dir /Users/aaron/Development/restores/blobstorage

<postgresql>

dsn dbname='zodb' user='postgres' host='localhost' password='password'

</postgresql>

</relstorage>

What am I missing?

来源:https://stackoverflow.com/questions/39072882/how-to-pack-blobstorage-with-plone-and-relstorage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!