1
我從cassandra開始,我想知道我的列族磁盤上的大小。 我搜索,我發現了命令:nodetool-h localhost-p 7199 cfstats
Apache Cassandra:nodetool -h localhost -p 7199 cfstats
Column Family: client
SSTable count: 3
Space used (live): 281774148
Space used (total): 281774148
Number of Keys (estimate): 1010176
Memtable Columns Count: 0
Memtable Data Size: 0
Memtable Switch Count: 0
Read Count: 0
Read Latency: NaN ms.
Write Count: 0
Write Latency: NaN ms.
Pending Tasks: 0
Bloom Filter False Postives: 0
Bloom Filter False Ratio: 0,00000
Bloom Filter Space Used: 3752864
Key cache capacity: 200000
Key cache size: 0
Key cache hit rate: NaN
Row cache: disabled
Compacted row minimum size: 216
Compacted row maximum size: 310
Compacted row mean size: 310
,但我不明白的結果,使你能幫助我嗎?
謝謝你的回答,但你能解釋爲什麼SSTable計數= 3?有什麼意義? – chicchoc88 2013-04-30 11:03:41
這就是您的數據傳播的文件數量。它並不重要 - 當您插入更多數據時,它會逐漸增加。當壓縮完成時減少。除非它非常大,否則通常不需要擔心它。 – Richard 2013-04-30 11:06:23
所以,如果我的計算是確切的,我的列家庭的大小= 33,59莫:(如何是好處???因爲我在Mysql中插入相同的csv = 7,5156莫!!! – chicchoc88 2013-04-30 11:21:57