A) Which type of tombstone occupies less memory
B) Which type of tombstone will have high performance issue
Types of tombstones Cell Row Range Partition TTL ComplexColumn
A) Which type of tombstone occupies less memory
B) Which type of tombstone will have high performance issue
Types of tombstones Cell Row Range Partition TTL ComplexColumn
I have to admit your question doesn't make sense to me. Tombstones are deletion markers -- they mark a cell, row, range or partition as deleted.
Tombstones don't have an intrinsic "size" so one type does not occupy more memory compared to another. What matters is how many tombstones there are.
For details, see What are tombstones in Cassandra?. Cheers!
If you're asking about what is the preferred way to perform a delete operation, a Partition level delete/tombstone is always recommended. In case, you want to delete an entire table, simply perform the TRUNCATE
operation and you don't have to worry about the tombstone generation at all.
7 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use