The first of the periodic maintenance tasks is packing the Zope database.
First, a little background.
Zope's object database, ZODB, is one of its most compelling features. Automatically translating Plone's Python objects to on-disk representations, the ZODB divests developers of a whole layer of concerns they would otherwise have to spend time on: for example, setting up an object-relational mapping layer like SQLAlchemy.
Out of the box, the ZODB stores its contents in the Data.fs
files you may have seen lurking in the var
folders of your Zope instances. Data.fs
files rarely travel alone. More often, they hang out with their friends: Data.fs.index, Data.fs.tmp
, and a few others. Here's a who's-who of the Data.fs
crew:
|
This is where the important data lives: all your pages, folders, images, and even your Site Setup settings. Though the head of the gang, |