Hey John,

Thank you for the answer. Yes, my plan was to run outside peak hours.
I was not sure if listing the keys is better than MapReduce in terms
of controllable additional load on the cluster, so I guess I need to
simple measure it.

Thanks,
I.

On Tue, Feb 25, 2014 at 12:18 PM, John Caprice <[email protected]> wrote:
> Istvan,
>
> This can be performed using the method described in that comment by Randall
> on stackoverflow, which performs a keylisting, or via a MapReduce job.  I
> recommend doing this type of administrative work during off peak hours
> regardless of whether you go the keylisting or MapReduce route.
>
> It's also important to keep in mind that if you're performing these deletes
> to reclaim disk space, you will likely increase disk usage in the short
> term.  Both Bitcask and LevelDB are append only backends, with merging /
> compaction processes that are triggered in the background.
>
> Thanks,
>
> John Caprice
>
>
> On Tue, Feb 25, 2014 at 1:57 PM, István <[email protected]> wrote:
>>
>> Hi,
>>
>> What is the recommended way of deleting all of the keys in a bucket?
>>
>> Is there a way to delete all the keys without impacting the read
>> performance of the cluster, like a low priority clean up job?
>>
>> I found the following script so far (I guess running it at off peak
>> would  be solving the priority problem):
>>
>> http://stackoverflow.com/a/14531820/127508
>>
>> Is this good, bad approach?
>>
>> Thanks in advance,
>> Istvan
>>
>> --
>> the sun shines for all
>>
>> _______________________________________________
>> riak-users mailing list
>> [email protected]
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>



-- 
the sun shines for all

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to