/plushcap/analysis/datastax/advanced-request-tracing-cassandra-12

Advanced request tracing in Cassandra 1.2

What's this blog post about?

Cassandra automatically saves trace sessions to the system_traces keyspace for reference, which expires after 24 hours. The system_traces keyspace contains two tables: sessions and events. Cqlsh's rendering of a traced request omits request parameters and event thread, but these can be useful when probabilistic tracing is enabled. Activity is a simple text field that may change in future Cassandra releases. Nodetool settraceprobability allows coordinators to trace a proportion of all requests it handles, which can help identify intermittent query slowness. However, tracing requests requires significant resources and should be used judiciously, starting with a small fraction like 0.001 and increasing only if necessary.

Company
DataStax

Date published
Nov. 16, 2012

Author(s)
Jonathan Ellis

Word count
242

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.