Bitcask merge

Nathan Wilken wilken at
Fri Aug 26 04:15:23 EDT 2011

Can you send a list of the *.data files and their sizes?

From: riak-users-bounces at [riak-users-bounces at] On Behalf Of raghwani sohil [sohil4you at]
Sent: Thursday, August 25, 2011 11:07 PM
To: Aphyr
Cc: riak-users at
Subject: Re: Bitcask merge

Hi Aphyr,

I have changed my app.config file i.e i have added this lines

{riak_kv_bitcask_backend, [
                          {max_file_size, 314572800},
                          {small_file_threshold, 335544320}

but still riak merging process is not running .

On Fri, Aug 26, 2011 at 12:56 AM, Aphyr <aphyr at<mailto:aphyr at>> wrote:
Have you checked that your bitcask maximum file size is small enough? Bitcask will only merge *inactive* files, so if your active file limit is 500MB and your active file is 320, you won't merge.


On 08/25/2011 06:43 AM, raghwani sohil wrote:
I have deleted all the keys from all buckets manually and *before
deleting *the**keys the size of *bitcask

*directory was *64 GB *and after deleting it is showing me the same i.e

*6.4 GB*.

So to run bitcask merging process i have added this line

 {riak_kv_bitcask_backend, [
                            {small_file_threshold, 335544320}

in my app.config  . I have added this line because size of all data file
in bitcask directory are ( < 320 MB ) .

but bitcask merging process is not running . Is there  any solution to
run bitcask merge process so that i can reduce size of my bitcask
directory ??

riak-users mailing list
riak-users at<mailto:riak-users at>

More information about the riak-users mailing list