Hi Nicholas

Potentially you could use the resource index for this, if you are using it.
For Mulgara this would be something like:

select count ( select $subject $predicate $object from <#ri>  where $subject
$predicate $object and $subject <fedora-model:hasModel>
<info:fedora/fedora-system:FedoraObject-3.0> ) from <#ri> where $subject
$predicate $object; 

I'm not sure how performant this would be though.

Otherwise the only way I can think of is by going to the SQL tables
directly.

Regards
Steve

> -----Original Message-----
> From: Nicholas W [mailto:4...@log1.net] 
> Sent: 22 December 2010 10:48
> To: Fedora-commons-users@lists.sourceforge.net
> Subject: [fcrepo-user] Quick way to determine total number of 
> objects in a Fedora Commons Repository through the Rest API?
> 
> 
> Dear List,
>  Just wondering is there a quick and easy way I can determine the
> number of objects in a Fedora Commons Repository - that doesn't put a
> lot of load on a repository? Perhaps something I can call with wget? I
> and am looking for a way of monitoring repository size remotely.
> 
> Thanks a lot,
> Regards,
> Nicholas W.
> 
> --------------------------------------------------------------
> ----------------
> Forrester recently released a report on the Return on 
> Investment (ROI) of
> Google Apps. They found a 300% ROI, 38%-56% cost savings, and 
> break-even
> within 7 months.  Over 3 million businesses have gone Google 
> with Google Apps:
> an online email calendar, and document program that's 
> accessible from your 
> browser. Read the Forrester report: 
> http://p.sf.net/sfu/googleapps-sfnew
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
> 


------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to