有没有办法在 Apache Cassandra 中查看活动 queries/requests 运行?
Is there way to see active queries/requests running in Apache Cassandra?
这就是问题。不是延迟、活动线程等指标。纯粹的查询。这可能吗?如何?谢谢
目前还没有,只是 nodetool tpstats
中来自本机传输请求的请求数
更新:在CASSANDRA-15241之后你可以查询一个虚拟table像:
cqlsh> select * from system_views.queries;
thread_id | duration_micros | task
--------------+-----------------+-------------------------------------
ReadStage-10 | 16535 | SELECT * FROM basic.wide1 LIMIT 5000
ReadStage-13 | 16535 | SELECT * FROM basic.wide1 LIMIT 5000
ReadStage-14 | 16535 | SELECT * FROM basic.wide1 LIMIT 5000
这就是问题。不是延迟、活动线程等指标。纯粹的查询。这可能吗?如何?谢谢
目前还没有,只是 nodetool tpstats
更新:在CASSANDRA-15241之后你可以查询一个虚拟table像:
cqlsh> select * from system_views.queries;
thread_id | duration_micros | task
--------------+-----------------+-------------------------------------
ReadStage-10 | 16535 | SELECT * FROM basic.wide1 LIMIT 5000
ReadStage-13 | 16535 | SELECT * FROM basic.wide1 LIMIT 5000
ReadStage-14 | 16535 | SELECT * FROM basic.wide1 LIMIT 5000