cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 魏金仙 <>
Subject Re:Re: index file and KeysCached
Date Mon, 06 Dec 2010 10:27:11 GMT
so when will index files be in the memory?

At 2010-12-06 00:54:48,"Brandon Williams" <> wrote:

2010/12/5 魏金仙<>
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. 

View raw message