Summary

Cassandra servers prior to version 2.1 used Log4j for logging purposes; however, from version 2.1 onwards, they use the Logback library. Cassandra logs its various activities in the system.log file. Logging configuration can be adjusted as per our requirements using the log4j-server.properties or logback.xml file based on the Cassandra server version you're using. The nodetool cfstats command provides statistics of a column family, such as memtable uses, SSTable count, and Bloom filter usage. Read/write latencies for a column family can be tracked using the nodetool cfhistogram utility. The cfhistograms command gives distribution data about latencies, partition sizes, and SSTable count. Bloom filter accuracy can be adjusted to suit our ...

Get Apache Cassandra Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.