Re: Container size via s3api

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 27, 2013 at 12:24 AM, Mihály Árva-Tóth
<mihaly.arva-toth@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> 2013/11/26 Derek Yarnell <derek@xxxxxxxxxxxxxx>
>>
>> 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.
>


The S3 api does not provide that info. As was mentioned above you can
try using the admin api.

Yehuda
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com





[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux