Hi,

After a few years of intensive CPS using, our ZODB has grown and is about 10GB big. So packing is sometimes difficult ("Data.fs" and "Data.fs.old" fill the filesystem together) and I think it's not sane to have such a big database.
Why is it so big ? Full of attached files, images, ...

I'd like to put all these space consuming elements on the filesystem, using "CPS Disk File Field", but how to deal with existing documents ?

Is there a script performing these tasks ?

More generally, I'd like to know what's the best way to alter existing documents when schemas and layouts change, in order to update them.

I was thinking about performing a search on the catalog in order to get the relevant documents (based on their portal_type), find their "real" object in the repository and then alter their structure and parameters directly. With text parameters (attachedfile size limit, css, ...), it doesn't look too hard but how to process binary elements ? I've also checked "getEditableContent" but didn't found the solution.

Any ideas ?

Regards
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to