Friday, December 28, 2012

Cassandra CLI basic schema commands

Launch the Cassandra CLI
> bin/cassandra-cli

Show all keyspaces:
> show keyspaces;

select a keyspace:
> use {keyspace}

show all column families of a keyspace:
> describe {keyspace}


No comments:

Post a Comment