Cleaning up buckets

Stefan Gebhardt stefan.gebhardt at
Thu Nov 10 13:00:59 EST 2011


I just started playing around with riak.
For the purpose of testing i uploaded 1 million random generated 
items(using uuid for keys) to a single bucket
via the python API.
Now i like to clean/remove this bucket and run the upload again. At the 
moment i am looking for smth. like DROP Bucket. Neither in the erlang 
api nor in the python api i found a function for doing so.
Then i tried to list all keys and delete item by item but the call  
"list 1 million keys" never returned and ok,,, silly plan at all.

So... My questions are:
How can i clean up my cluster?
Why is there no function to remove a bucket?



Stefan Gebhardt * stefan.gebhardt at
Software Development
ABAS Software AG * ERP / PPS / WWS / eBusiness
Südendstraße 42 * 76135 Karlsruhe * GERMANY
Vorstand: Werner Strub (Vorsitzender), Peter Walser
Vorsitzender des Aufsichtsrats: Thomas Frank
HRB 107644 Amtsgericht Mannheim
Tel. +49 (0) 721/9 67 23 0 * Fax +49 (0) 721/9 67 23 100 * info at

More information about the riak-users mailing list