Skip to main content
CockroachDB includes a set of system catalogs that provide non-stored data to client applications. The following system catalogs are available as schemas preloaded to every database:
  • , a schema provided for compatibility with the SQL standard.
  • , a schema with information about CockroachDB internals.
  • , a schema provided for compatibility with PostgreSQL.
  • , a schema catalog with information about CockroachDB extensions.
Access to the crdb_internal schema and to tables and built-in functions in the system database is controlled by the , which defaults to off. Queries to these namespaces will fail unless access is manually enabled. Usage is also audited via the . For more information, see . The system and crdb_internal schemas are intended for advanced support scenarios only, and should be accessed under the guidance of Cockroach Labs.
Tables in the system catalogs have varying levels of stability. Not all system catalog tables are meant for programmatic purposes. For more information, see .
To see all of the system catalogs for the , you can use a statement:

See also