DSE重启时nodetool cfstats

时间:2016-06-24 11:02:37

标签: cassandra

在DSE重启时,我可以看到读取和写入计数/延迟值重置为零。

以下值是否也会重置?

                Compression metadata off heap memory used: 1123544
                Compacted partition minimum bytes: 87
                Compacted partition maximum bytes: 129557750
                Compacted partition mean bytes: 48702
                Average live cells per slice (last five minutes): 238.6153846153846
                Maximum live cells per slice (last five minutes): 888.0
                Average tombstones per slice (last five minutes): 0.0
                Maximum tombstones per slice (last five minutes): 0.0

重启DSE后,我发现这些值与之前显示的值有所不同。 cfstats如何运作?

1 个答案:

答案 0 :(得分:1)

底部4

            Average live cells per slice (last five minutes): 238.6153846153846
            Maximum live cells per slice (last five minutes): 888.0
            Average tombstones per slice (last five minutes): 0.0
            Maximum tombstones per slice (last five minutes): 0.0

是关于读数的细胞数量和墓碑的统计数据。这些将在重新启动时重置。但

            Compression metadata off heap memory used: 1123544
            Compacted partition minimum bytes: 87
            Compacted partition maximum bytes: 129557750
            Compacted partition mean bytes: 48702

表格的sstables是统计数据,它们在磁盘上并且不会重置。