Skip to content

Instantly share code, notes, and snippets.

@tmusabbir
Last active January 3, 2016 00:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmusabbir/8381783 to your computer and use it in GitHub Desktop.
Save tmusabbir/8381783 to your computer and use it in GitHub Desktop.
Cassandra Performance Tuning
Cassandra Performance Tuning
root@ip-10-0-0-24:[/root]
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 124G 78G 40G 67% /
/dev/sda2 50G 2G 46G 1% /mnt/commitlog
none 3.8G 1007M 2.8G 27% /dev/shm
root@ip-10-0-0-24:[/root]
$ chown cassandra:cassandra /mnt/commitlog
root@ip-10-0-0-24:[/root]
$ chmod 755 /mnt/commitlog
[root@ip-10-0-0-57 ~]# bin/nodetool --host ip-10-0-0-57 cfstats
Column Family: Cloud_For_Beginners
...
Key cache capacity: 200000
Key cache size: 200000
Key cache hit rate: 0.568
update column family cloud_for_beginners with keys_cached = 300000
update column family cloud_for_beginners with rows_cached = 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment