# SQL Schemas

> For the complete documentation index, see [llms.txt](https://docs.redpanda.com/llms.txt). Component-specific: [cloud-data-platform-full.txt](https://docs.redpanda.com/cloud-data-platform-full.txt)

---
title: SQL Schemas
latest-operator-version: v26.2.5
latest-console-tag: v3.14.0
latest-connect-version: 4.117.0
latest-redpanda-tag: v26.2.6
docname: sql/schema
page-component-name: cloud-data-platform
page-version: master
page-component-version: master
page-component-title: Cloud
page-relative-src-path: sql/schema.adoc
page-edit-url: https://github.com/redpanda-data/cloud-docs/edit/main/modules/reference/pages/sql/schema.adoc
description: SQL schemas are namespaces in Redpanda SQL that hold catalog connections, storage definitions, and views. Learn which schemas exist and who creates them.
page-topic-type: reference
page-git-created-date: "2026-05-26"
page-git-modified-date: "2026-10-23"
page-generated-content: none
---

<!-- Source: https://docs.redpanda.com/cloud-data-platform/reference/sql/schema.md -->

A SQL schema is a namespace in the Redpanda SQL database. A schema groups objects so that their names do not collide. Use schemas to organize views and to control which users can create views.

> 📝 **NOTE**
>
> On this page, _schema_ means a SQL namespace in the PostgreSQL sense. It is not the same as a topic’s serialization schema (Protobuf, Avro, or JSON) registered in [Schema Registry](https://docs.redpanda.com/cloud-data-platform/manage/schema-reg/schema-reg-overview/). It is also not an Iceberg namespace, such as the namespace of a table in an Iceberg catalog.

## [](#what-a-schema-holds)What a schema holds

Each schema can hold:

-   Catalog connections, such as `default_redpanda_catalog` and `default_iceberg_catalog`.

-   SQL storage definitions that you create with [`CREATE STORAGE`](https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-statements/create-storage/).

-   Views that you create with [`CREATE VIEW`](https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-statements/create-view/).


Tables are not in a schema. A table belongs to a catalog. You name a table through its catalog, such as `default_redpanda_catalog=>orders`. To map a topic to a table, see [CREATE TABLE](https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-statements/create-table/). For where tables and views are stored, see [Where tables and views live](https://docs.redpanda.com/cloud-data-platform/sql/query-data/tables-and-views/#where-tables-and-views-live).

## [](#built-in-schemas)Built-in schemas

Redpanda SQL provides these built-in schemas:

-   `public`: The default schema. Objects that you create without naming a schema go here, unless you change the [search path](#search-path). It holds the default catalog connections. You cannot drop it.

-   `pg_catalog`: Holds the [PostgreSQL system catalogs](https://docs.redpanda.com/cloud-data-platform/reference/sql/system-catalogs/), such as `pg_class` and `pg_type`.

-   `information_schema`: Holds the [information schema](https://docs.redpanda.com/cloud-data-platform/reference/sql/information-schema/) views over database object metadata.

-   `system`: Holds the [system virtual tables](https://docs.redpanda.com/cloud-data-platform/reference/sql/system-virtual-tables/), such as `system.iceberg_tables`.


You can query the objects in `pg_catalog`, `information_schema`, and `system` without naming the schema. You cannot drop these schemas or create objects in them.

## [](#create-and-manage-schemas)Create and manage schemas

Only a superuser can create a schema. In Redpanda Cloud, a user with the **SQL: Manage** permission is a superuser. A superuser can let other users create views in a schema. To do this, the superuser grants them the `USAGE` and `CREATE` privileges on the schema.

| Task | Statement |
| --- | --- |
| Create a schema | CREATE SCHEMA |
| Remove a schema | DROP SCHEMA |
| Change the owner of a schema | ALTER SCHEMA …​ OWNER TO |
| Let a role use a schema or create views in it | GRANT |

## [](#search-path)Search path

When you refer to a view without a schema, Redpanda SQL looks for it in the schemas on the search path. To show or change the search path, see [SET/SHOW](https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-statements/set-show/).

## [](#suggested-reading)Suggested reading

-   [CREATE SCHEMA](https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-statements/create-schema/)

-   [DROP SCHEMA](https://docs.redpanda.com/cloud-data-platform/reference/sql/sql-statements/drop-schema/)

-   [Manage access to Redpanda SQL](https://docs.redpanda.com/cloud-data-platform/sql/manage/manage-access/)