Thanks David. > purging the objects and bypassing the GC is definitely the way to go Cool. > What rebalancing do you expect to see during this operation that you're trying to avoid I think I just have a poor understanding or wasn't thinking very hard :) I suppose the question really was "are there any performance implications in deleting large buckets that I should be aware of?". So, no really. Just will take a while. The actual cluster is small and balanced with free space. Buckets are not customer-facing. Thanks for the advice, Sean On Thu, 15 Feb 2018, David Turner said: > Which is more important to you? Deleting the bucket fast or having the > used space become available? If deleting the bucket fast is the priority, > then you can swamp the GC by multithreading object deletion from the bucket > with python or something. If having everything deleted and cleaned up from > the cluster is the priority (which is most likely the case), then what you > have there is the best option. If you want to do it in the background away > from what the client can see, then you can change the ownership of the > bucket so they no longer see it and then take care of the bucket removal in > the background, but purging the objects and bypassing the GC is definitely > the way to go. ... It's just really slow. > > I just noticed that your question is about ceph rebalancing. What > rebalancing do you expect to see during this operation that you're trying > to avoid? I'm unaware of any such rebalancing (unless it might be the new > automatic OSD rebalancing mechanism in Luminous to keep OSDs even... but > deleting data shouldn't really trigger that if the cluster is indeed > balanced). > > On Thu, Feb 15, 2018 at 9:13 AM Sean Purdy <s.purdy@xxxxxxxxxxxxxxxx> wrote: > > > > > Hi, > > > > I have a few radosgw buckets with millions or tens of millions of > > objects. I would like to delete these entire buckets. > > > > Is there a way to do this without ceph rebalancing as it goes along? > > > > Is there anything better than just doing: > > > > radosgw-admin bucket rm --bucket=test --purge-objects --bypass-gc > > > > > > Thanks, > > > > Sean Purdy > > _______________________________________________ > > ceph-users mailing list > > ceph-users@xxxxxxxxxxxxxx > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com