Re: Re: index file and KeysCached

2010-12-06 Thread Sylvain Lebresne
2010/12/6 魏金仙 sei_...@126.com: so when will index files be in the memory? The index files are never fully in memory (because it would quickly be too big). Hence, only a sample of this file is in memory (1 every 128 entry by default). When cassandra needs to know where a (row) key is on disk (for

Re: index file and KeysCached

2010-12-05 Thread Brandon Williams
2010/12/5 魏金仙 sei_...@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