[Deploying Sakai] Change an individual site's quota
jonespm at umich.edu
Sat Mar 20 09:52:14 PDT 2010
That was actually the follow-up at the end of my last email. ;)
> There is also a good looking patch that we plan on testing soon which will
> instructor (and admins) to actually *see* the sites used space and quota.
> (http://jira.sakaiproject.org/browse/SAK-11003) Not completely related but
> to possibly look forward to in this area.
The patch on SAK-11003 allows you to see this on the user interface. (UI to
show quota in Resources tool)
I'm not sure if you're building your Sakai from source, but you'd have to at
least patch and build the content module. There are in depth instructions on
that on  and it will also be a topic discussed at the conference in
Denver in June.
There is a 2.6 patch attached to this issue. I'm going to be applying and
testing this particular patch on a Michigan build next week and we'll also
be load testing this (though don't expect any issues from discussions).
Otherwise, to get this information "today", you have to do database queries
on content_resource to generate some reports. These queries are for
*oracle*. They might have to be slightly modified if you're using mysql.
They will give you the top site-id's (context) in file usage (bytes). Select
more columns from this table if you want.
select sum(file_size) as fsize,context from content_resource group by
context order by fsize desc;
. . .
Some items will group into a null context. If this is a large portion of
your used space, you'd run something like the query below to look at what
those are: (usually attachments or something):
select resource_id,file_size from content_resource where context is null
order by file_size desc;
On Sat, Mar 20, 2010 at 9:56 AM, Katherine Faella <kmf at uri.edu> wrote:
> Thanks Matthew. That was helpful!
> A follow-up question - is there a way to tell how much space any given site
> is using?
> Thanks, Kathy
> View this message in context:
> Sent from the WG: Production / Deplying Sakai (
> production at collab.sakaiproject.org) mailing list archive at Nabble.com.
> production mailing list
> production at collab.sakaiproject.org
> TO UNSUBSCRIBE: send email to
> production-unsubscribe at collab.sakaiproject.org with a subject of
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the production