[Zope] ZODB and quotas

Jim Fulton jim@digicool.com
Mon, 05 Jul 1999 09:42:16 -0400


michel@digicool.com wrote:
> 
(snip)
> Taking this discusion a level further, it might even be nice to be
> able to just 'pack' a subfolder, so someone who has reached their
> quota can free up some space by cleaning out older versions.  Of
> couse, a more privledged user could override that by packing 'above'
> their folder.

Here's something to keep in mind and a little bit of ZODB Zen.
Folders are an *application-level* notion.  There is no visibility
to folders at the database level.  There is no way to look at a database
record and tell what folder the object is in.  An object may not be in 
any folder, or in several.

I envision the database managing quotas and possibly providing 
administrative control based on "accounting" information.  For example, 
one might say that each "member" of a site gets 1 meg of storage.
It doesn't matter *where* (in the application notion of place) that
space is.  They might have 50K in a "news" area, 400K in
a contributed area, and so on.  Similarly, with some future
storage manager, it might be possible for a member to pack *just*
their data.  

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.