cassandra_compaction_tasks_pending
Number of queued tasks in a thread pool waiting to be runInterface Metrics (3)
Knowledge Base (10 documents, 0 chunks)
Related Insights (6)
When pending compaction tasks accumulate faster than they can complete, reads must scan excessive SSTables, driving p99 latency upward and eventually causing timeout exceptions. This silent storage debt compounds over time.
Frequent deletes create tombstones that must be scanned during reads. When tombstone counts exceed 1000 per read, query latency degrades dramatically despite healthy system resources, often masking as a generic slow query problem.
Old snapshots from backups or schema changes accumulate on disk, silently consuming storage until reaching 90%+ capacity. This blocks compaction and eventually causes node failures with disk-full errors.
When pending compaction tasks accumulate, read latency degrades because queries must scan many SSTables. This manifests as rising P99 read latency while write latency remains stable, often accompanied by increasing SSTables-per-read counts.
Using STCS (Size-Tiered) creates unbounded SSTable growth and prevents fast streaming, while LCS (Leveled) causes excessive write amplification under heavy load. Both reduce effective node density and operational efficiency compared to UCS (Unified) in Cassandra 5.0+.