so when will index files be in the memory?

At 2010-12-06 00:54:48,"Brandon Williams" <driftx@gmail.com> wrote:
2010/12/5 魏金仙 <sei_wjx@126.com>
for each sstable, there is an index file, which is loaded in memory to locate a particular key's offset efficiently.

Index files are not held in memory.
 
and for each CF, KeysCached can be set to cache keys' location.
could you pls tell me the difference between the two?

KeysCached are held in memory.
 
I'm wondering whether it's necessary to set "KeysCached" for a CF or not.

Not necessary, but advantageous. 

-Brandon



网易163/126邮箱百分百兼容iphone ipad邮件收发