• Glossary
  • Support
  • Downloads
  • DataStax Home
Get Live Help
Expand All
Collapse All

DataStax Monitoring Guide

    • Monitoring a DSE cluster
    • Using DSE Metrics Collector
      • Configure DSE Metrics Collector
        • insights_config
        • insights_filters
      • Enabling and disabling DSE Metrics Collector
        • Enabling DSE Metrics Collector
        • Disabling DSE Metrics Collector
      • Configuring DSE Metrics Collector
        • Examples
        • Configuring data and log directories
        • Filtering metrics
      • Exporting metrics
        • Exporting metrics using Docker
        • Exporting with existing Prometheus server
          • Creating a Grafana dashboard
    • Using OpsCenter
    • Getting statistics and metrics
    • Metrics reference
      • Drivers metrics
      • DSE cluster metrics
        • Table statistics
        • Thread pool and read/write latency statistics
        • Compaction metrics
        • Endpoint metrics MBean
        • NodeSync metric MBeans
        • NodeSync Service MBean
      • DSE Analytics cluster metrics
      • DSE Search cluster metrics
        • Using MBeans to evaluate DSE Search performance
          • MBeans search demo
        • Commit metrics MBean
        • EndpointStateTracker MBean
        • IndexPool MBean
        • Merge metrics MBean
        • Query metrics MBean
        • Reindex metrics MBean
        • ShardRouter MBean
        • Solr MBeans
        • Update metrics MBean
      • DSE Graph cluster metrics
      • OpsCenter Dashboard metrics
  • DataStax Monitoring Guide
  • Metrics reference
  • DSE cluster metrics
  • Thread pool and read/write latency statistics

Thread pool and read/write latency statistics

The DataStax Enterprise (DSE) database maintains distinct thread pools for different stages of execution. Each thread pool provides statistics on the number of tasks that are active, pending, delayed, completed, and blocked. Increases in the Pending tasks column indicate when to add additional capacity. After a baseline is established, configure alarms for any increases above normal in the pending tasks column.

Several options are available for viewing and configuring thread pool statistics:

  • Use nodetool tpstats on the command line to view the thread pool details shown in the table.

    (DSE 6.8 | 6.7 | 6.0 | 5.1)

  • View thread pool statistics from the Node Details dialog in OpsCenter.

    (OpsCenter 6.8 | 6.7 | 6.5)

  • Configure alerts and dashboard graphs for thread pool metrics in OpsCenter Monitoring.

    (OpsCenter 6.8 | 6.7 | 6.5)

The database tracks latency (averages and totals) of read, write, and slicing operations at the server level through StorageProxyMBean.

nodetool tpstats provides the following data:

BackgroundIoStage

Completes background tasks like submitting hints and deserializing the row cache.

CompactionExecutor

Running compaction.

GossipStage

Distributing node information via Gossip. Out of sync schemas can cause issues. You may have to sync using nodetool resetlocalschema. (DSE 6.8 | 6.7 | 6.0 | 5.1)

HintsDispatcher

Dispatches a single hints file to a specified node in a batched manner.

InternalResponseStage

Responding to non-client initiated messages, including bootstrapping and schema checking.

MemtableFlushWriter

Writing memtable contents to disk. May back up if the queue is overruns the disk I/O, or because of sorting processes.

nodetool tpstats no longer reports blocked threads in the MemtableFlushWriter pool. Check the Pending Flushes metric reported by nodetool tablestats. (DSE 6.8 | 6.7 | 6.0 | 5.1)

MemtablePostFlush

Cleaning up after flushing the memtable (discarding commit logs and secondary indexes as needed).

MemtableReclaimMemory

Making unused memory available.

PendingRangeCalculator

Calculating pending ranges per bootstraps and departed nodes. Reporting by this tool is not useful — see Developer notes.

PerDiskMemtableFlushWriter_N

Activity for the memtable flush writer of each disk.

ReadRepairStage

Performing read repairs. Usually fast, if there is good connectivity between replicas.

Table statistics Compaction metrics

General Inquiries: +1 (650) 389-6000 info@datastax.com

© DataStax | Privacy policy | Terms of use

DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.

Kubernetes is the registered trademark of the Linux Foundation.

landing_page landingpage