2017-11-08 8 views
0

同様の質問があります。hereしかし答えは古いバージョンのcassandraに関する。カサンドラの列数の増加による影響

私はdsc-cassandra-2.1.10を使用しています。
現在、約40の列ファミリがあります。これらをそれぞれ小さなテーブル/細かいカテゴリに分割することで、テーブル数を約400列のファミリに増やすことができます。

私は主に、memtableにメモリの必要性と影響があります。マイナーコンパクションです。

そして、それらがノード自体にどんな一般的な影響を与えますか。私は、JVMのメモリ要件が増加することを期待しています。しかし、より多くの列ファミリを追加した結果、どれほど攻撃的な効果が得られるかはわかりません。

このような多くの列ファミリを持つ他の影響も参考になります。既存の回答のどれも最近のバージョンに関するものではありません。

追加情報:400の列ファミリのうち、15は同じ行セット(しかし異なるパーティションキー)に対して高頻度の更新を行います。

約15分ごとに更新と挿入が行われます。約7000個のパーティションキーが更新されます。

答えて

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. 
を促すありがとう
関連する問題