2013/11/26 Derek Yarnell <de...@umiacs.umd.edu>

> On 11/26/13, 4:04 AM, Mihály Árva-Tóth wrote:
> > Hello,
> >
> > Is there any idea? I don't know this is s3api limitation or missing
> feature?
> >
> > Thank you,
> > Mihaly
>
> Hi Mihaly,
>
> If all you are looking for is the current size of the bucket this can be
> found from the adminops api[1] or when you get do the GET bucket[2]
> operation you will receive a list of keys that you can loop through and
> total their sizes.
>
> [1] - http://ceph.com/docs/master/radosgw/adminops/
> [2] - http://ceph.com/docs/master/radosgw/s3/bucketops/#get-bucket
>

Hi Derek,

Thank you for your answer. Okay so I see I can't do that with s3api. I
would not like to list - loop - sum() because containers holds 5-10
millions of objects and I have fifty containers at the moment. Adminops api
is much interesting thanks I will make some research.

Have a nice day!
Mihaly
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to