[Zope] User quotas

R. David Murray bitz@bitdance.com
Fri, 31 Mar 2000 15:11:18 -0500 (EST)


On Fri, 31 Mar 2000, Pierre-Julien Grizel wrote:
> 1- Is there a way to keep user quotas on Zope objects ?... I.e. restrict the
> amount of place a user can waste with its objects.
> I briefly looked at the list's archive but did not find the actual answer.

As far as I know there is not currently any such mechanism.  I wonder
if the PTK people have thought about this?  I haven't gotten around
to signing on to the PTK list yet, but I really need to.

> 2- Is there a way to purge the ZODB object history (ie. not the cache but the
> older versions of each object) once I have a stabe "release" of my website
> ?... It would take less space on disk, and I suppose rendering will be faster.

Go to database management on the control panel, and compress your
database.  This will delete old transactions up to whatever point
you tell it, thus shrinking the database.  It won't have any affect
on rendering speed, though; from what I understand ZODB is designed
to keep read performance high regardless of the number of transactions
recorded in the database.

--RDM