Have a question or want live help from a DataStax engineer? Let's chat.

Jump to main content
DataStax Home Page
  • Support
  • DataStax Home
  • Downloads
  • Learn
    • Academy
    • Developers
    • Community
    • Blog
    • Resource library
    • Examples on GitHub
  • Drivers
    • Driver home page
    • C++ Driver Guide
    • C# Driver Guide
    • Java Driver Guide
    • Node.js Driver Guide
    • Python Driver Guide
  • Glossary
  • world icon
  • Get Live Help
  • About Apache Cassandra
  • Understanding the architecture
  • Database internals
  • Planning a cluster deployment
  • Installing
  • Configuration
  • Initializing a cluster
  • Operations
  • Cassandra tools
  • Troubleshooting
  • Release notes

Can't find what you're looking for? Try searching other guides

Apache Cassandra 3.0
  • About Apache Cassandra

    Documentation for developers and administrators on installing, configuring, and using the features and capabilities of Apache Cassandra scalable open source NoSQL database.

  • Understanding the architecture

    Important topics for understanding Cassandra.

  • Database internals

    Topics about the Cassandra database.

  • Planning a cluster deployment

    Vital information about successfully deploying a Cassandra cluster.

  • Installing

    Various installation methods.

  • Configuration

    Configuration topics.

  • Initializing a cluster

    Topics for deploying a cluster.

  • Operations

    Cassandra operation topics, such as node and datacenter operations, changing replication strategies, configuring compaction and compression, caching, and tuning Bloom filters.

  • Cassandra tools

    Topics for Cassandra tools.

    • The nodetool utility

      A list of the available commands for managing a cluster.

      • About the nodetool utility

        A command line interface for managing a cluster.

      • abortrebuild

        Abort a currently running rebuild operation. Completes processing of active streams, but no new streams are started.

      • assassinate

        Forcefully removes a dead node without re-replicating any data. It is a last resort tool if you cannot successfully use nodetool removenode.

      • bootstrap

        Manage a node's bootstrap process.

      • cfhistograms

        This tool has been renamed.

      • cfstats

        This tool has been renamed.

      • cleanup

        Cleans up keyspaces and partition keys no longer belonging to a node.

      • clearsnapshot

        Removes one or more snapshots.

      • compact

        Forces a major compaction on one or more tables.

      • compactionhistory

        Provides the history of compaction operations.

      • compactionstats

        Provide statistics about a compaction.

      • decommission

        Deactivates a node by streaming its data to another node.

      • describecluster

        Provide the name, snitch, partitioner and schema version of a cluster

      • describering

        Provides the partition ranges of a keyspace.

      • disableautocompaction

        Disables autocompaction for a keyspace and one or more tables.

      • disablebackup

        Disables incremental backup.

      • disablebinary

        Disables the native transport.

      • disablegossip

        Disables the gossip protocol.

      • disablehandoff

        Disables storing of future hints on the current node.

      • disablehintsfordc

        Disable hints for a datacenter.

      • disablethrift

        Disables the Thrift server.

      • drain

        Drains the node.

      • enableautocompaction

        Enables autocompaction for a keyspace and one or more tables.

      • enablebackup

        Enables incremental backup.

      • enablebinary

        Re-enables native transport.

      • enablegossip

        Re-enables gossip.

      • enablehandoff

        Re-enables the storing of future hints on the current node.

      • enablehintsfordc

        Enable hints for a datacenter.

      • enablethrift

        Re-enables the Thrift server.

      • failuredetector

        Shows the failure detector information for the cluster.

      • flush

        Flushes one or more tables from the memtable.

      • gcstats

        Print garbage collection (GC) statistics.

      • getcompactionthreshold

        Provides the minimum and maximum compaction thresholds in megabytes for a table.

      • getcompactionthroughput

        Print the throughput cap (in MB/s) for compaction in the system.

      • getendpoints

        Provides the IP addresses or names of replicas that own the partition key.

      • getinterdcstreamthroughput

        Prints the throughput cap in Megabits per second (Mbps) for inter-datacenter streaming.

      • getlogginglevels

        Get the runtime logging levels.

      • getseeds

        Refreshes the IP address of the seed node currently in use, as listed by the seed provider.

      • getsstables

        Provides the SSTables that own the partition key.

      • getstreamthroughput

        Provides the Mb per second outbound throughput limit for streaming in the system.

      • gettimeout

        Print the timeout value of the given type in milliseconds.

      • gettraceprobability

        Get the probability for tracing a request.

      • gossipinfo

        Provides the gossip information for the cluster.

      • help

        Provides nodetool command help.

      • info

        Provides node information, such as load and uptime.

      • invalidatecountercache

        Resets the global counter cache parameter, counter_cache_keys_to_save, to the default (not set), which saves all keys.

      • invalidatekeycache

        Resets the global key cache parameter to the default, which saves all keys.

      • invalidaterowcache

        Resets the global key cache parameter, row_cache_keys_to_save, to the default (not set), which saves all keys.

      • join

        Causes the node to join the ring.

      • listendpointspendinghints

        Prints information about hints that the node has for other nodes.

      • listsnapshots

        Lists snapshot names, size on disk, and true size.

      • mark_unrepaired

        Mark all target SSTables as unrepaired.

      • move

        Moves the node on the token ring to a new token.

      • netstats

        Provides network information about the host.

      • pausehandoff

        Pauses the hints delivery process

      • proxyhistograms

        Provides a histogram of network statistics.

      • rangekeysample

        Provides the sampled keys held across all keyspaces.

      • rebuild

        Rebuilds data by streaming from other nodes.

      • rebuild_index

        Performs a full rebuild of the index for a table

      • refresh

        Loads newly placed SSTables onto the system without a restart.

      • refreshsizeestimates

        Refresh system.size_estimates table.

      • reloadseeds

        Reloads the seed node list from the seed node provider.

      • reloadtriggers

        Reloads trigger classes.

      • removenode

        Provides the status of current node removal, forces completion of pending removal, or removes the identified node.

      • repair

        Repairs one or more tables.

      • replaybatchlog

        Replay batchlog and wait for finish.

      • resetlocalschema

        Reset the node's local schema and resynchronizes.

      • resumehandoff

        Resume hints delivery process.

      • ring

        Provides node status and information about the ring.

      • scrub

        Rebuilds SSTables for one or more tables.

      • setcachecapacity

        Set global key and row cache capacities in megabytes.

      • setcachekeystosave

        Sets the number of keys saved by each cache for faster post-restart warmup.

      • setcompactionthreshold

        Sets minimum and maximum compaction thresholds for a table.

      • setcompactionthroughput

        Sets the throughput capacity for compaction in the system, or disables throttling.

      • sethintedhandoffthrottlekb

        Sets hinted handoff throttle in kb/sec per delivery thread.

      • setinterdcstreamthroughput

        Sets the inter-datacenter throughput capacity in megabits per second (Mbps) streaming, or 0 to disable throttling.

      • setlogginglevel

        Set the log level for a service.

      • setstreamthroughput

        Sets the throughput capacity in Mb for outbound streaming in the system, or disables throttling.

      • settimeout

        Set the specified timeout in milliseconds, or 0 to disable timeout.

      • settraceprobability

        Sets the probability for tracing a request.

      • sjk

        Runs Swiss Java Knife (SJK) commands to execute, troubleshoot, and monitor the database using MBeans.

      • snapshot

        Take a snapshot of one or more keyspaces, or of a table, to backup data.

      • status

        Provide information about the cluster, such as the state, load, and IDs.

      • statusbackup

        Provide the status of backup.

      • statusbinary

        Provide the status of native transport.

      • statusgossip

        Provide the status of gossip.

      • statushandoff

        Provides the status of hinted handoff.

      • statusthrift

        Provide the status of the Thrift server.

      • stop

        Stops the compaction process.

      • stopdaemon

        Stops the cassandra daemon.

      • tablehistograms

        Provides statistics about a table that could be used to plot a frequency function.

      • tablestats

        Provides statistics about one or more tables.

      • toppartitions

        Samples database reads and writes and reports the most active partitions in a specified table.

      • tpstats

        Provides usage statistics of thread pools.

      • truncatehints

        Truncates all hints on the local node, or truncates hints for the one or more endpoints.

      • upgradesstables

        Rewrites SSTables for tables that are not running the current version of Cassandra. Ensures that the SSTables are compatible with the current version.

      • verify

        Verify (check data checksum for) one or more tables.

      • version

        Provides the version number of Cassandra running on the specified node.

    • The cassandra utility

      You can start Cassandra 3.0 and 3.1 by adding them to the cassandra-env.sh file (package or tarball installations) or entering them at the command line in tarball installations.

    • The cassandra-stress tool

      A Java-based stress testing utility for basic benchmarking and load testing a Cassandra cluster.

    • SSTable utilities

      Tools for using, upgrading, and changing Cassandra SSTables.

  • Troubleshooting
  • Release notes

    Release notes for the Apache Cassandra 3.0.

nodetool cfhistograms

This tool has been renamed.

This tool has been renamed as nodetool tablehistograms.

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

© DataStax | Privacy policy | Terms of use | Updated: 18 February 2022

Build time: 2022-02-18 10:37:07.280

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.

cassandra-oss osscassandra30