Delete bucket(s) by deleting bitcask files?

Christian Dahlqvist christian at basho.com
Mon Apr 8 06:03:13 EDT 2013


Hi Christian,

As long as you stop the nodes first, deleting all files from the /var/lib/riak/bitcask directory is a perfectly valid way to clear out the database.

Best regards,

Christian



On 8 Apr 2013, at 10:45, Christian Steinmann <christian.steinmann77 at gmail.com> wrote:

> Hi,
> 
> i run some tests with riak for a study case, before i run the tests i have to clear  or delete the data i generated in the last run. At moment i have a map reduce job for this which works, but gets extremly slow when there are a lot of keys in the bucket.
> 
> In Cassandra i could empty the data folder. Now i would like to ask if it is possible to empty the /var/lib/riak/bitcask folder on every node, to delete the data in the database?
> 
> 
> greetings Christian
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130408/e73fa2c0/attachment.html>


More information about the riak-users mailing list