1

I have a 5-node Cassandra cluster. Each node has disk space of 5TB. The real usage for each node is around 2.5TB depending on allocations and compactions (some are around 2TB some around 2.8).

I would like to add new nodes to the cluster with lower disk space (2TB for example).

How can I be sure that the new nodes will have enough disk space when Cassandra will redistribute data? How can I be sure that my new nodes are not too small?

I'm afraid that 2TB won't be enough, but what about 2.5TB?

1

Be careful about decreasing the amount of free disk space. The recommendation for cassandra 2.1 is to maintain 50-80% free space. You can read about it on the Datastax site. The free space is needed during compaction as the SStables will be streamed to disk. Depending on your compaction strategy, you can determine your disk capacity.

  • Thanks for the pointer. My question is more adding smaller nodes (smaller in term of disk space) to an existing cluster : how to be sure that my new nodes are not too small ? – JLM Apr 16 '16 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.