我想在Apache Cassandra(Client - cqlsh)中跟踪和计算READ和WRITE性能。我知道TRACING ON可用,但我没有发现它有用。
我希望在Cassandra中跟踪以下示例(示例),
I have 3 node Cassandra cluster and I have a table with 1 million entry, I would like to calculate the performance of READ / WRITE in the following way,
1) WRITE - 1 INSERT with 1 million entry available in it.
2) WRITE - 1 UPSERT on one of the entry with 1 million entry available in it.
3) READ - 1 READ from 1 million entry
4) READ - ALL THE 1 million entry
which involves single partition and multiple partition too.
任何有关跟踪效果的帮助都很明显。
谢谢,
哈利
答案 0 :(得分:1)
可以通过nodetool tablehistograms
命令获取特定键空间/表的性能统计信息(如in documentation所述)。
为了生成对表的加载,您可以使用与Cassandra一起使用的cassandra-stress
工具。它非常强大,但需要编写模仿表格的正确配置文件。这个blog post与official documentation一起非常有用。