Search⌘ K

Apache Cassandra system_schema Keyspace

Explore the system_schema keyspace in Apache Cassandra to understand how metadata about keyspaces, tables, columns, indexes, and views is stored. Learn to query this schema metadata using CQL to manage and inspect your database structure effectively.

The system_schema keyspace

Cassandra maintains a predefined keyspace "system_schema" to store metadata information about keyspaces, tables, columns, views, etc. The following screenshot demonstrates DESCRIBE KEYSPACES lists of all keyspaces in the cluster, including system_schema keyspace. The DESC TABLES statement for system_schema keyspace displays tables in the keyspace. Some key tables in the system_schema keyspace include:

  • keyspaces: Stores metadata about all keyspaces.

  • tables: Contains information about all tables.

  • ...