nodetool cfstats的不同字段是什么意思?

时间:2014-08-07 13:17:42

标签: cassandra nodetool

当我使用以下命令时。
nodetool -h localhost -p 7199 cfstats demodb 我想出了以下结果。我不能从以下结果得出任何结论。我无法确定我的两个节点集群Cassandra是否表现良好或需要调整。

 Keyspace: demodb
            Read Count: 81361
            Read Latency: 0.04145315323066334 ms.
            Write Count: 23114
            Write Latency: 0.06758518646707623 ms.
            Pending Tasks: 0
                    Table: schema1
                    SSTable count: 0
                    Space used (live), bytes: 0
                    Space used (total), bytes: 3560
                    SSTable Compression Ratio: 0.0
                    Number of keys (estimate): 0
                    Memtable cell count: 5686
                    Memtable data size, bytes: 3707713
                    Memtable switch count: 5
                    Local read count: 81361
                    Local read latency: 0.000 ms
                    Local write count: 23114
                    Local write latency: 0.000 ms
                    Pending tasks: 0
                    Bloom filter false positives: 0
                    Bloom filter false ratio: 0.00000
                    Bloom filter space used, bytes: 0
                    Compacted partition minimum bytes: 0
                    Compacted partition maximum bytes: 0
                    Compacted partition mean bytes: 0
                    Average live cells per slice (last five minutes): 1.0
                    Average tombstones per slice (last five minutes): 0.0 

1 个答案:

答案 0 :(得分:2)

据我所知,我可以告诉你,表schema1中的数据仍然完全在内存中“SSTable count:0”。此时没有什么可以优化的。当您有更多数据并且内存状态刷新到磁盘时,统计信息将更有用。现在要优化一些东西。