Runbook

Cassandra Tombstone Cleanup

Back to Runbooks

Overview

In a Cassandra database, tombstones are markers that indicate a deleted record. If tombstones are not properly cleaned up, they can cause performance issues and potentially lead to data inconsistency. A Cassandra tombstone cleanup incident is an event where there is a need to identify and remove tombstones from the database in order to maintain optimal performance and data consistency. This incident type typically involves database administrators and software engineers working together to identify the source of the tombstones and implement a solution to remove them.

Parameters

Debug

Check Cassandra process status

Check Cassandra logs for tombstone warnings/errors

List Cassandra keyspaces

List tables in a keyspace

Count the number of tombstones in a table

Force a cleanup of tombstones in a table

Check for tombstones in a table after cleanup

Repair

Remove tombstones: This involves running a compaction process on the database to remove the tombstones or manually deleting them.

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.