Deleting Bucket getting Bucket information

Mark Phillips mark at basho.com
Tue Oct 26 19:44:34 EDT 2010


On Tue, Oct 26, 2010 at 10:35 AM, Prometheus WillSurvive
<prometheus.willsurvive at gmail.com> wrote:
> Hi There,
> Is there any easy way to delete whole bucket ?

This has been addressed a good amount on the mailing list already.

You can read up on it here --->
http://riak.markmail.org/search/?q=delete%20bucket

Short answer is that there is no way to delete a bucket. You'll need to delete
each key. There is a ticket open for it --->
https://issues.basho.com/show_bug.cgi?id=79

> Is there any command to show me bucket information ie how many document, its disc size  etc..

For getting the number of keys in the bucket, check out question
number four here --->

http://lists.basho.com/pipermail/riak-users_lists.basho.com/2010-June/001540.html

As far as other stats, Riak exposes stats at "http://localhost:8098/stats"

There is also a nifty Ganglia module that Jesse Newland put together a
few weeks ago--->
http://github.com/jnewland/gmond_python_modules/tree/master/riak

As an aside, it would appear the wiki is lacking some copy regarding
these questions. I'll set about fixing it :)


Mark

Community Manager
Basho Technologies
wiki.basho.com
twitter.com/pharkmillups




More information about the riak-users mailing list