[Zope] Pack Zodb problem

Dieter Maurer dieter@handshake.de
Sat, 31 May 2003 11:07:13 +0200


Sreekanth S Rameshaiah wrote at 2003-5-30 09:29 +0530:
 > Every time I use the pack Zodb option, ZOPE creates a ZODB backup file.
 > My Zodb is currently 2.1GB in size. To pack ZODB I will require around 2
 > GB of additional space in the server which i am unable to spare. Hence
 > the pack command is failing. Is there any way to pack ZODB without
 > creation of backup file?

No, because the packed file is written while the original file
is read. Therefore, near the end of packing your disk space
requirements is size of old file + size of packed file.

Of course, you can delete the old file (which you call backup)
as soon as packing is finished.

When you are working on a Unix variant (or have symbolic links),
you can copy your "Data.fs" to a new disk and reference it via
a symbolic link.


Dieter