Re: Re: Key cache hit rate issue

2012-02-16 Thread zhangcheng
Yes, Cassandra has no way of knowing that all the data is in the most recent sstable, and will have to check the others too, and this bring a lot of difficulty to data compaction. I have a question that if I want a high performance data compaction, how can I implement that all the columns are

Re: Re: Key cache hit rate issue

2012-02-16 Thread zhangcheng
Thanks, Jonathan. I got it. 2012-02-17 zhangcheng 发件人: Jonathan Ellis 发送时间: 2012-02-17 10:15:05 收件人: user 抄送: 主题: Re: Key cache hit rate issue Look for this code in SSTableReader.getPosition: Pair unifiedKey = new Pair(descriptor, decoratedKey); Long cached

Re: Re: Key cache hit rate issue

2012-02-16 Thread zhangcheng
according to the read process, the key of the keycache should be the row key. 2012-02-17 zhangcheng 发件人: Todd Burruss 发送时间: 2012-02-17 06:23:47 收件人: user@cassandra.apache.org 抄送: 主题: Re: Key cache hit rate issue jonathan, you said the key to the cache is key + sstable? looking at