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