How to find the list of keyspaces in Cassandra

In this article, we will see how to find the list of keyspaces in Cassandra using different methods.

We can find the list of keyspaces in Apache Cassandra using decribe or running select statement.

How to find the list of keyspaces in Cassandra

1.Find the keyspaces in Cassandra using describe command.

describe keyspaces;

How to find the list of keyspaces in Cassandra

2. Find the list of keyspaces in Apache Cassandra using select statement.

select * from system_schema.keyspaces;