How do I disable autocompaction in `cassandra.yaml`?

给你一囗甜甜゛ 提交于 2020-01-25 09:41:08

问题


https://stackoverflow.com/a/47837940/260805 hints that it should be possible. I would like to disable it for a longer period of times (~2 days) when enabling incremental repairs.


回答1:


(Disclaimer: I'm a ScyllaDB employee)

As far as I know you can disable autocompaction in the following ways:

  1. For a column family (Table), by setting its strategy to NullCompactionStrategy. (I think this one is supported only in Scylla, but not in Cassandra)
  2. Using nodetool: $ nodetool <options> disableautocompaction -- <keyspace> <table> ... (I think this one is supported only in Cassandra, but not in Scylla)


来源:https://stackoverflow.com/questions/47866555/how-do-i-disable-autocompaction-in-cassandra-yaml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!