如何查找cassandra查询响应时间?

时间:2016-10-13 04:14:13

标签: cassandra cassandra-2.1

我正在尝试使用cqlsh找出cassandra中查询的响应时间。

我正在使用"追踪"然后在cqlsh中执行查询,但是我收到以下错误:

  

语句跟踪未在10秒内完成

这是我正在执行的查询:

test@cqlsh:test> TRACING on;
test@cqlsh:test> select * from test limit 1;

--- output row ---
Statement trace did not complete within 10 seconds

有没有其他方法可以找出查询的响应时间?
为什么跟踪不显示,即使只请求了一行,我肯定会在一秒钟内获得?

1 个答案:

答案 0 :(得分:0)

对于升级的主要版本,您需要在每个节点上升级SSTable。

确保所有节点都具有相同的版本

nodetool upgradesstables

相关问题