Re: memtable_allocation_type on Cassandra 2.1.x

2017-05-24 Thread Akhil Mehra
Hi Varun, Look at the recommendation for offheap_objects and memtable flush writers and readers in the following guide https://tobert.github.io/pages/als-cassandra-21-tuning-guide.html. In the guide and cassandra.yaml the default is suggested as a good starting point. If you want to use the

Re: memtable_allocation_type on Cassandra 2.1.x

2017-05-23 Thread varun saluja
Thanks Akhil for response. I have set memtable_allocation_type as Off-heap. But cassandra 2.1.x does not allow to set *memtable_heap_space_in_mb: 0.* It mentions , we need to assign some positive value to heap space. In such case, will memtable still use jvm heap space. Can anyone suggest below

Re: memtable_allocation_type on Cassandra 2.1.x

2017-05-22 Thread Akhil Mehra
I believe off-heap storage was reintroduced in 3.4 ( https://issues.apache.org/jira/browse/CASSANDRA-9472). It was removed from 3.0 due to the refactoring of the storage engine. Check out http://www.datastax.com/dev/blog/off-heap-memtables-in-Cassandra-2-1 to get an overview of the pros and cons