Get Information : Cluster, Keyspaces, Version No...

cqlsh> // Get information about Cluster #51
cqlsh> describe cluster

Cluster: Test Cluster
Partitioner: Murmur3Partitioner

cqlsh>
cqlsh> // Get information about Keyspaces(a.k.a Database in RDBMS)
cqlsh> // Those keyspaces that starts with sys_* are system level
cqlsh> //    key spaces
cqlsh> describe keyspaces

system_traces  system_schema  system_auth  system  system_distributed

cqlsh>
cqlsh> // Get Version No
cqlsh> show version
[cqlsh 5.0.1 | Cassandra 3.8 | CQL spec 3.4.2 | Native protocol v4]

No comments:

Post a Comment