简体   繁体   English

如何在正在运行的Cassandra集群中更新表的min_index_interval和max_index_interval

[英]How to update min_index_interval and max_index_interval of a table in a running Cassandra Cluster

如何更新正在运行的Cassandra集群max_index_intervalmin_index_intervalmax_index_interval

ALTER TABLE keyspace.table
with min_index_interval = 512 
AND max_index_interval = 2048;

You can use above query to change the property. 您可以使用上面的查询来更改属性。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Cassandra 服务启动延迟,并在 system.log 文件中读取 SSTables 时出现警告消息“min_index_interval of 128 is too low” - Cassandra service startup delays with WARN message "min_index_interval of 128 is too low" while reading SSTables in system.log file Cassandra:表和二级索引更新-是原子的吗? - Cassandra: table and secondary index update - is it atomic? 我应该如何在Cassandra中存储日期间隔? - How should I store a date interval in Cassandra? 如何更新Cassandra集群的配置 - How to update configuration of a Cassandra cluster 如何修改Cassandra中的内存刷新时间间隔? - How to modify the memtable flush time interval in cassandra? Cassandra:插入值并更新平均值/最小值/最大值 - Cassandra: insert value and update average/min/max 如何有效地对 Cassandra 中的仅索引表进行分区? - How do I efficiently partition an index-only table in Cassandra? Cassandra分区和群集键可存储反向索引 - Cassandra Partition and Cluster Keys to Store Inverted index Cassandra:获取Cassandra中索引表的读取计数吗? - Cassandra : Getting read count for Index table in cassandra? Cassandra:如何减少表中的墓碑数量? (tombstone_compaction_interval,gc_grace_seconds和LevelledCompactionStrategy) - Cassandra: how to reduce the number of tombstones in a table? (tombstone_compaction_interval, gc_grace_seconds and LevelledCompactionStrategy)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM