Nodetool cfstats中的SStable计数

时间:2013-12-30 00:12:21

标签: cassandra nodetool

我最近开始在cassandra中添加一些数据用于性能测试 并且还查看了nodetool cfstats,即使插入了大量数据,sstable计数仍为0。即使是现场使用的空间也总是0.我错过了什么吗?

Keyspace: perftest
Read Count: 0
Read Latency: NaN ms.
Write Count: 126056
Write Latency: 0.028907025449006793 ms.
Pending Tasks: 0
    Column Family: items
    SSTable count: 0
    Space used (live): 0
    Space used (total): 0
    SSTable Compression Ratio: 0.0
    Number of Keys (estimate): 0
    Memtable Columns Count: 252112
    Memtable Data Size: 214612059
    Memtable Switch Count: 0
    Read Count: 0
    Read Latency: NaN ms.
    Write Count: 126056
    Write Latency: 0.029 ms.
    Pending Tasks: 0
    Bloom Filter False Positives: 0
    Bloom Filter False Ratio: 0.00000
    Bloom Filter Space Used: 0
    Compacted row minimum size: 0
    Compacted row maximum size: 0
    Compacted row mean size: 0
    Average live cells per slice (last five minutes): 0.0
    Average tombstones per slice (last five minutes): 0.0

1 个答案:

答案 0 :(得分:4)

您的可记忆数据大小为214612059(214 MB)。这意味着数据不足以导致它被刷新到磁盘。如果您插入的更多,或者您可以使用nodetool flush强制刷新。

列出的尺寸是磁盘上的尺寸,因此在发生冲洗之前将为零。

相关问题