RAM calculation in the Bitcask Capacity Calculator

Simon Majou simon at majou.org
Thu Jan 24 06:22:30 EST 2013


Hello,

I was checking the Bitcask Capacity Calculator when I noticed the overhead
used for a bucket/key pair was 43 and not 22 bytes as specified.

After checking the JS that do the calculus, I noticed the bucket/key pair
is 35+sizeof_PTR. I don't know what PTR is, but the value by default is 8.

Does anyone knows the actual formula to get the RAM usage with Bitcask ?

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


More information about the riak-users mailing list