Alexandre S.
Alexandre S.

Reputation: 540

Duration of execution query in Cassandra

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

Answers (1)

Ashraful Islam
Ashraful Islam

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

Related Questions