Reputation: 540
Is there a simple way to know the duration of a query in Cassandra like a \timing
in PostgreSLQ ?
Thank you in advance
Upvotes: 0
Views: 1263
Reputation: 12830
In Cqlsh you get the execution time by TRACING ON
Example :
TRACING ON
SELECT * FROM exp;
You will get the cumulative execution time in microsecond on a specific node in the source_elapsed
column
Upvotes: 2