On Tue, 15 Feb 2000, Kevin Dangoor wrote:
----- Original Message ----- From: "-" <kedai@kedai.com.my> To: <zope@zope.org> Sent: Monday, February 14, 2000 10:13 PM Subject: [Zope] zodb Q
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
your guess on catalog aware is right on the dot. the site (www.emedia.com.my) is mainly a news site. articles are stored via a pubZclass and is catalog aware. i've been updating the catalog hourly to stop numerical error when doing searches. will updating the catalog help reduce the size? i see that it does not. it may have caused the increase. if i stop updating the catalog, users will see the random numerical key error. how to sync the catalog only when necessary, instead of reindexing. how does zope.org tackle this. i assume, zope.org does have a catalog aware classes somewhere. thanks -- ------------------------------------------------------ http://www.kedai.com.my/kk Am I Evil?