Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra: choosing sstable_size_in_mb

Tags:

cassandra

I have Cassandra 1.1.9 with large column family 1.5Tb of size per node. This one has a LeveledCompaction configured.

What is the most appropriate value of sstable_size_in_mb should I choose? Currently we use value of 100Mb and as a result ~20,000 files per node. What issues should I keep in mind while choosing it?

like image 834
odiszapc Avatar asked Oct 03 '13 03:10

odiszapc


1 Answers

Larger is probably better. For an optimum size, some work was recently done on finding a better size than the small 5M default. The new default size is 160M. You can read about it in CASSANDRA-5727.

If you are using LCS you should consider upgrading to 1.2.x sometime for a lot of improvements there.

like image 192
Patrick McFadin Avatar answered Oct 19 '22 15:10

Patrick McFadin