If I'm inserting the following : Partition key = 8 byte String Clustering key = 20 byte String Stored Data = 150 byte byte[]
If the insert is still in the memtable, what portion of the above is in the memtable? All of it, or just the keys? If just the keys, where does the stored data live? (keep in mind in this scenario the data has been been purged to the data directory. It's only been added to the commit log). Parag From: DuyHai Doan [mailto:doanduy...@gmail.com] Sent: Thursday, April 10, 2014 3:35 PM To: user@cassandra.apache.org Subject: Re: Cassandra memory consumption Data structures that are stored off heaps: 1) Row cache (if JNA enabled, otherwise on heap) 2) Bloom filter 3) Compression offset 4) Key Index sample On heap: 1) Memtables 2) Partition Key cache Hope that I did not forget anything Regards Duy Hai DOAN On Thu, Apr 10, 2014 at 9:13 PM, Parag Patel <ppa...@clearpoolgroup.com<mailto:ppa...@clearpoolgroup.com>> wrote: We're using Cassandra 1.2.12. What aspects of the data is stored in off heap memory vs heap memory?