[Zope] zodb Q
Kevin Dangoor
kid@kendermedia.com
Mon, 14 Feb 2000 22:31:38 -0500
----- Original Message -----
From: "-" <kedai@kedai.com.my>
To: <zope@zope.org>
Sent: Monday, February 14, 2000 10:13 PM
Subject: [Zope] zodb Q
> i still can't make out how zodb works. i see that it increases it's sizes
> after a while. if i pack, it shrinks back. what is really happening? i
read
> in previous threads, all unreferenced objects are kept until packed. will
> cache garbage collection do this? will frequent garbage collection (30
sec)
> help?
The FileSystem Storage basically just keeps appending to the Data.fs file
whenever an object is changed. This is why doing a hit counter using a
folder property or something similar is not good, because the file grows
with each hit.
I have found that CatalogAware objects seem to add up quickly. If you're
using CatalogAware ZClasses and changing them/reindexing them a lot, this
might explain your file growing so quickly.
Without knowing your application, it's hard to tell what can be changed to
avoid the frequent file bloat...
Kevin