Could you please let me know the minimum value of Tombstone_threshold for Cassandra?
I'm troubled because I can't judge even by looking at the manual.Try until 0.01
I was able to confirm that it is valid.
By the way, in Cassandra 3.0, the compression strategy is DTCS.
Thank you for your cooperation.
cassandra
tombstone_threshold
is Java float, so you can theoretically set it to 2^-149.
In practice, tombstone_threshold
compares the value of the statistics for the percentage of Tombstone in the SSTable to determine if the SSTable should perform a single compaction, as referenced in the following methods:
Cassandra will actually be able to delete Tombstones after the gc_grace_seconds time set in the table (default is 10 days).
Statistics Retrieved in the Code Above
sstable.getEstimatedDroppableTombstoneRatio(gcBefore);
calculates the percentage of Tombstone in the SSTable that is past gc_grace_seconds.
(By the way, DTCS is deprecated in Cassandra 3.0.8.Why don't you consider moving to TimeWindowCompactionStatey (TWCS)?
https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlHowDataMaintain.html
© 2024 OneMinuteCode. All rights reserved.