我想在tombstone_failure_threshold文件中增加cassandra.yaml值,默认情况下这个值是100K
我不确定要确定的价值。
我已经看过一些文档,我看到了减少默认的gc_grace_seconds是864000 (10天)。如果您的TTL数据被设置为6 days,那么您可能希望将gc_grace_seconds更改为604800 (7 days),以便更快地删除墓碑。但我不会为我的数据设置TTL。如果我减少了gc_grace_seconds值,那么更改cassandra.yaml文件中的tombstone_failure_threshold值会影响tombstone_failure_threshold还是更好呢?
`CREATE TABLE test.topics (
topic_name text PRIMARY KEY,
latest_time_stamp double
) WITH bloom_filter_fp_chance = 0.01
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99PERCENTILE';发布于 2018-01-31 13:57:22
只有当您对集群中的内存使用模式很有信心时,这些值才应该向上更改。
https://stackoverflow.com/questions/48538746
复制相似问题