Exploring Cluster Topology with Cassandra Shell
Learn to access cluster topology by querying the local and peers tables in the system keyspace using cqlsh.
We'll cover the following...
As the course progresses, we will use the CQL shell to create tables and run queries, etc. For now, let’s explore how Cassandra stores cluster information and query it through cqlsh
.
Cluster topology through cqlsh
Cassandra maintains tables in the System
keyspace to hold cluster configuration details. As previously stated, nodes of a Cassandra cluster periodically gossip information about themselves and a subset of their peers to other nodes.