Bitcask merge

Nathan Wilken wilken at asu.edu
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 lists.basho.com [riak-users-bounces at lists.basho.com] On Behalf Of raghwani sohil [sohil4you at gmail.com]
Sent: Thursday, August 25, 2011 11:07 PM
To: Aphyr
Cc: riak-users at lists.basho.com
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 aphyr.com<mailto:aphyr at aphyr.com>> 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.

--Kyle


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 lists.basho.com<mailto:riak-users at lists.basho.com>
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list