How do I disable autocompaction in `cassandra.yaml

2019-08-23 23:45发布

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条回答
你好瞎i
2楼-- · 2019-08-24 00:23

(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)
查看更多
登录 后发表回答