incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: memory estimate for each key in the key cache
Date Tue, 20 Dec 2011 19:14:46 GMT
If you get the sizing wrong there area couple of emergency pressure valves in the config…
https://github.com/apache/cassandra/blob/trunk/conf/cassandra.yaml#L113

Watch for log messages with "Cassandra is now reducing cache sizes to free up memory." in
them. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 21/12/2011, at 5:21 AM, Kent Tong wrote:

>>  It is not telling you to multiply your key size by 10-12, it is telling you to
>> multiply the output of the nodetool cfstats reported "key cache size" by 10-12.
> 
> 
> The  "key cache size" reported is actually the number of keys in the key cache. So,
> it is the same thing as suggesting each key takes 10-12 bytes.


Mime
View raw message