Cassandra - cfstats和读/写延迟的意义 [英] Cassandra - cfstats and meaning of read/write latency

查看:496
本文介绍了Cassandra - cfstats和读/写延迟的意义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Read Latency: 0.10471324863883848 ms.
Write Latency: 0.10803364485981308 ms.

这些值的含义是什么?


  • 这是平均时间吗?

  • 此计算的时间轴是什么?自上次重新启动以来的时间?

  • 是否可以重置读取/写入延迟(通过JMX
    maybie)?

推荐答案

这取决于您是在谈论打印整个键空间的延迟值还是为特定列族打印的延迟值。

It depends on if you are talking about the latency values printed for the entire keyspace or the latency values printed for a specific column family.

键空间的延迟数是JVM整个生命周期内每个请求的平均延迟。 (总延迟/总请求)

The latency numbers for the keyspace are the average latency per request for the entire lifetime of the JVM. (total latency/total requests)

列族的延迟数是自上次查询jmx mbean以来的每个请求的平均延迟(上次执行nodetoolcfstats )。

The latency numbers for the column family is the average latency per request since the last time that jmx mbean was queried (last time you did nodetoolcfstats).

目前没有办法重置键空间的值,但是如上所述,每次调用后列族重置。

There is no way to reset the values for the keyspace overall currently, but the column family values reset after each call as I mentioned.

这篇关于Cassandra - cfstats和读/写延迟的意义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆