Cassandra影响越来越多的列族

时间:2017-11-08 01:19:08

标签: java cassandra cqlsh cassandra-2.1

有一个类似的问题here。然而,答案与较旧版本的cassandra有关。

我正在使用 dsc-cassandra-2.1.10 现在我们有大约40个列族。我们希望将每一个分解为更小的表/更精细的类别,这会将表数增加到大约400个列族。

我主要关注 memtable 内存要求以及对次要压缩的影响。

然后这些会对节点本身产生什么影响。我希望JVM内存需求增加。但是不知道添加更多列族后效果的积极程度

拥有这么多列系列的任何其他后果也会有所帮助。现有答案似乎都与最新版本无关。

附加信息:在400个列系列中,15个将对同一组行(但不同的分区键)进行高频更新。

每分钟大约有15个会有更新和插入。大约7000个分区键将更新。

谢谢

1 个答案:

答案 0 :(得分:0)

DataStax敦促小心> = 200表

https://docs.datastax.com/en/dse-planning/doc/planning/planningAntiPatterns.html#planningAntiPatterns__AntiPatTooManyTables

Warning threshold: 200 tables. The cluster may run smoothly above this threshold, but once your database reaches the warning threshold, it's time to start monitoring and planning a re-architecture. If possible, remove unused and underutilized tables.

Failure threshold: 500 tables. On a cluster that has exceeded 500 tables, expect problems and errors, including (but not limited) issues related to high memory usage and compactions.
相关问题