我的OpsCenter在Tombstone计数性能服务上给出了“失败”结果。我读了this paper,发现可能是插入NULL
值是随意的。
所以我尝试使用以下过程解决此问题:
NULL
和channels
的articles
列设置为''。并且为了检查原因,这两个表没有任何插入。gc_grace_seconds
将0
设置为
alter table channels with gc_grace_seconds = 0
alter table articles with gc_grace_seconds = 0
bestpractice_results
键空间中的OpsCenter
表。
service datastax-agent restart
service opscenterd restart
但是,当OpsCenter运行例行性能检查(每1分钟)时,会再次出现以下“失败”信息。并且墓碑的数量没有改变(即23552和1374)
我有一个问题:
repair
群集吗?OpsCenter版本:6.0.3 Cassandra版本:2.1.15.1423 DataStax企业版:4.8.10
请点击以下链接获取有关删除和墓碑的完整信息..它可能对您有所帮助。 http://thelastpickle.com/blog/2016/07/27/about-deletes-and-tombstones.html
使用Cassandra 3.10+,使用
nodetool garbagecollect keyspace_name table_name