Run CQL from cqlsh

Execute a CQL statement non-interactively

cqlsh -u cassandra -p cassandra -e 'DESCRIBE KEYSPACES;'

tool
cassandra15 commands
tags
cassandra

More cassandra commands

  • nodetool tablestats mykeyspace.mytable

    Show read/write latencies and SSTable count for a table

  • nodetool repair -full mykeyspace

    Full repair to sync all replicas for a keyspace

  • nodetool gossipinfo

    Show gossip state for all nodes (debug)

  • nodetool flush mykeyspace

    Force flush in-memory data to SSTables

  • nodetool status

    Show ring topology, load, state, and host IDs

all 15 cassandra commands