Limiting LevelDB memory in Riak 1.4

Matthew Von-Maszewski matthewv at basho.com
Thu Oct 8 14:29:31 EDT 2015


See this:

https://docs.basho.com/riak/1.4.7/ops/advanced/backends/leveldb/

It is the 1.4 docs relating to memory management for leveldb.

Basic answer is that you multiple max_open_files times 4 megabytes times number of vnodes on the server.

Matthew


> On Oct 8, 2015, at 1:32 PM, Ricardo Mayerhofer <ricardo.ekm at gmail.com> wrote:
> 
> Hi all,
> I have a multi backend strategy in my Riak cluster, where LevelDB bucket stores historical data whereas Bitcask bucket stores live data. Given the purpose of LevelDB bucket I don't want it to take much memory and use most o the memory to Bitcask.
> 
> I know in 2.0 there is "leveldb.maximum_memory.percent" to limit LevelDB memory use. Is there a way to achieve the same thing in Riak 1.4?
> 
> Thanks.
> 
> -- 
> Ricardo Mayerhofer
> _______________________________________________
> riak-users mailing list
> riak-users at 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/20151008/f13933b6/attachment-0002.html>


More information about the riak-users mailing list