Bitcask merge

raghwani sohil sohil4you at gmail.com
Fri Aug 26 02:07:01 EDT 2011


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> 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
>> http://lists.basho.com/**mailman/listinfo/riak-users_**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/20110826/7359fdff/attachment.html>


More information about the riak-users mailing list