Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

adampaul avatar image
adampaul asked ·

How do I get the count of tombstones?

How to get count of number of tombstones present in each table of keyspace?

I have extracted TombstoneScannedHistogram to check tombstone count can you help to how to check exact count using this

Also please help me with steps to get this count by any other method available

tombstones
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

There isn't a way of getting the tombstone count without reading all the data in the tables so there isn't a tool/utility to do this.

There really isn't a valid scenario where knowing the tombstone count would be helpful so the ability to do this doesn't exist.

As a side note, I suspect you're asking this question because you have a tombstone problem as a result of a high-delete workload/use case. We are limited in our ability to assist you with the Q&A format of this forum. Please log a ticket with DataStax Support so one of our engineers can assist you. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.