Describe table
Show CREATE TABLE statement with all settings
cqlsh -e 'DESCRIBE TABLE <keyspace>.<table>'
More cassandra commands
-
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