1) **cassandra stress write n=500 cl=ALL no warmup-节点xxxxx
Keyspace: xxxxxx
**Read Count: 0**
Read Latency: NaN
**Write Count: 500**
Write Latency: 0.013902 ms.
Pending Flushes: 0
Table: yyyyyyyy
SSTable count: 0
Space used (live): 0
Space used (total): 0
Space used by snapshots (total): 4006975142
Off heap memory used (total): 0
SSTable Compression Ratio: -1.0
Number of keys (estimate): 499
Memtable cell count: 500
Memtable data size: 139500
Memtable off heap memory used: 0
Memtable switch count: 1
**Local read count: 0**
Local read latency: NaN
**Local write count: 500**
Local write latency: 0.014 ms
Pending flushes: 0
Bloom filter false positives: 0
Bloom filter false ratio: 0.00000
Bloom filter space used: 0
Bloom filter off heap memory used: 0
Index summary off heap memory used: 0
Compression metadata off heap memory used: 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
2) cassandra应力读数n=500 cl=ALL no warmup-节点xxxxx**
所有3个节点的Cfstat结果如下所示。
键空间:xxxxxx
读取次数:6000
读取延迟:0.14475毫秒。
写入计数:500
写入延迟:0.010558毫秒。
挂起刷新:0
表:yyyyyyy
已用空间(活动):0
已用空间(总计):0
S表压缩比:-1.0
钥匙数量(估计):499
Memtable数据大小:139500
使用的堆外内存:0
本地读取计数:6000
本地读取延迟:0.141 ms
本地写入计数:500
本地写入延迟:0.011 ms
Bloom筛选器误报:0
Bloom过滤器错误率:0.00000
使用的Bloom筛选器空间:0
已使用Bloom筛选器堆外内存:0
已使用堆外内存的索引摘要:0
压缩分区最小字节数:0
压缩分区平均字节数:0
平均每片活细胞数(过去5分钟):1.0
所以我的问题是,当我在一致性为n=500的情况下运行stress时,那么write Count:500和Local write Count:500,这似乎对所有3个节点都是正确的。如果我在这里出错,请更正,但是当我在一致性为n=500的情况下运行stress时,ALL read Count:6000和Local read Count:6000
为什么读取计数是6000而不是500?