cassandra commands
15 commands, each with a one-line explanation. Click a command to copy it, or its title for details.
Commands 15 shown
-
nodetool statusShow ring topology, load, state, and host IDs
-
nodetool infoLocal node heap, uptime, gossip, data center info
-
cqlsh <host> 9042 -u cassandra -p cassandraOpen CQL interactive shell
-
cqlsh -e 'DESCRIBE KEYSPACES'Show all keyspaces in the cluster
-
nodetool repair -pr <keyspace>Run incremental repair on the primary range (use in maintenance)
-
nodetool compactionstatsShow ongoing compaction operations and queue length
-
nodetool flush <keyspace> <table>Force memtable flush to SSTables
-
cqlsh -e 'DESCRIBE TABLE <keyspace>.<table>'Show CREATE TABLE statement with all settings
-
nodetool statusShow cluster ring with status, load and ownership
-
nodetool compactionstatsShow pending and active compaction tasks
-
cqlsh -u cassandra -p cassandra -e 'DESCRIBE KEYSPACES;'Execute a CQL statement non-interactively
-
nodetool tablestats mykeyspace.mytableShow read/write latencies and SSTable count for a table
-
nodetool repair -full mykeyspaceFull repair to sync all replicas for a keyspace
-
nodetool gossipinfoShow gossip state for all nodes (debug)
-
nodetool flush mykeyspaceForce flush in-memory data to SSTables
no commands match — try a different search