You can delete one bucket in Riak by iterating over all keys in the bucket (or only all keys) and performing a delete operation on all keys. It is excessively expensive to use in production and slows down overall.
Depending on which server you are using, you can instead delete keys directly in the background. I successfully managed leveldb on a production system. This means that Riak needs to be stopped, but this is usually not a problem, since deletion can be done in a node, so only one node should be stopped at any time.
In our case, it was pretty fast (compared to deleting keys one by one). This was not supported in any way by Basho or an official, but we had no choice. My contact information is available in my profile if you need more information.
AndrΓ© lazzlo
source share