What is nodetool and what are its key capabilities for managing and monitoring Cassandra nodes?

Last updated 11 July 2026

nodetool is Cassandra's command-line administration utility that connects to a node over JMX to inspect and control cluster state. It is the primary tool for day-to-day operations, monitoring, and maintenance.

  • Cluster and topology inspection:

    • nodetool status shows nodes, their state (up/down), and data ownership.

    • nodetool ring and nodetool info show token ranges and per-node details.

  • Maintenance operations:

    • nodetool repair reconciles replicas to fix inconsistency.

    • nodetool cleanup, nodetool compact, and nodetool flush manage SSTables and memtables.

  • Monitoring and diagnostics:

    • nodetool tpstats shows thread pool activity and dropped messages.

    • nodetool cfstats/tablestats report per-table read/write latency and storage metrics.

  • Node lifecycle: nodetool decommission, drain, and removenode manage adding or safely removing nodes.

  • https://www.wecreateproblems.com/interview-questions/cassandra-interview-questions
  • https://mindmajix.com/cassandra-interview-questions-and-answers
  • https://www.whizlabs.com/blog/cassandra-interview-questions-and-answers/
  • https://www.analyticsvidhya.com/blog/2023/03/top-5-interview-questions-on-cassandra/
  • https://www.geeksforgeeks.org/dbms/cassandra-vs-dynamodb/
  • https://www.knowi.com/blog/cassandra-vs-dynamodb-2025-complete-guide-with-pricing-performance-usecase-migration-tips/
  • https://www.bytebase.com/blog/dynamodb-vs-cassandra/
  • https://dzone.com/articles/cassandra-vs-dynamodb-database-comparison
  • https://www.finalroundai.com/blog/cassandra-interview-questions
  • https://www.edureka.co/blog/interview-questions/cassandra-interview-questions/
  • https://data-flair.training/blogs/cassandra-interview-questions/
  • https://www.adaface.com/blog/cassandra-interview-questions/
  • https://www.careers360.com/courses-certifications/articles/apache-cassandra-interview-questions
  • https://www.acte.in/cassandra-interview-questions-and-answers
  • https://www.devopsschool.com/blog/top-50-interview-questions-and-answers-of-apache-cassandra/
All Cassandra interview questions