What do I look at first?
The numbers I watch, the settings that matter, and the commands I use.
Example dashboard: the thresholds are starting points I would tune per system, and the colors are made up for the picture.
| Signal | Why I watch it | Where it comes from |
|---|---|---|
| Nodes up | With RF 3 at QUORUM you can lose one replica per range, not two. | nodetool status |
| Read and write latency p99 | Coordinators wait for the slowest replica they need. | client and table metrics |
| Pending compactions | A growing backlog means more SSTables per read and slower reads. | nodetool compactionstats |
| Dropped messages | Requests a node gave up on because it was overloaded. | nodetool tpstats |
| Time since last repair | Repair must finish within gc_grace_seconds, or deleted data can come back. | your repair tool |
| Tombstone warnings | Reads scanning many tombstones get slow, then fail. | system.log |
| Setting | Default | What it trades |
|---|---|---|
| Replication factor | set per keyspace | How many copies. Three per data centre, with NetworkTopologyStrategy, is the usual choice. |
| Consistency level | per query; often LOCAL_ONE in the drivers | ONE: fastest, can read stale data. QUORUM or LOCAL_QUORUM: reads see acknowledged writes. ALL: fails if any replica is down. |
| commitlog_sync | periodic, every 10 s | batch or group waits for the disk before acknowledging. Periodic relies on other replicas for safety. |
| Compaction strategy | SizeTiered is the long-standing default | Leveled for read-heavy tables, TimeWindow for time series with TTLs. The Unified strategy in 5.0 can behave like either. |
| gc_grace_seconds | 864000, 10 days | How long deletes are remembered. Run a full repair more often than this. |
| Partition key | your choice, per table | Decides which nodes hold a row and how big a partition gets. The most important decision in a Cassandra design. |
nodetool status # every node: up or down, load, ownership nodetool tablestats chat.messages # SSTables, partition sizes, tombstones per read nodetool tablehistograms chat messages # SSTables per read, partition size percentiles nodetool compactionstats # compactions running and pending nodetool tpstats # thread pools, dropped messages, hints nodetool repair -pr chat # repair this node's primary ranges cqlsh> CONSISTENCY QUORUM; cqlsh> TRACING ON; # then run a query: where it spent its time, replica by replica
Versions and licences. Cassandra 5.0 (September 2024; 5.0.9 in August 2026) added storage-attached indexes, vector search, the Unified Compaction Strategy, and trie-based memtables and SSTables. Cassandra 6.0 is in alpha in 2026 with Accord, ACID transactions across partitions, and transactional cluster metadata; check its status before you plan on it.
How do databases actually work? From one row on disk to transactions: the words you need, PostgreSQL, MySQL and MongoDB from the files up, then Redis, Cassandra and vector search, side by side, and the query and concurrency traps.