Getting total memtables size in Cassandra

on Monday, January 14, 2013
Ever wanted to know the total size of the memtables in your Cassandra cluster? Here is a little oneliner which gets you the total size in bytes.

nodetool cfstats | grep 'Memtable Data Size' | awk '{sum+=$4}END{print sum}'

0 comments:

Post a Comment