Schemas
Use schemas in standard and external catalogs to organize data.
Catalogs are logical containers for schemas, which are also referred to as databases. Schemas can contain tables, which contain structured data, and volumes, which contain unstructured data.
When you create a standard catalog in the Master Catalog, a default schema is automatically created within it.
You can manage permissions to control who has access to your schema. For more information, see Schema Permissions.
The Master Catalog's default catalog, which is called 'default', contains a reserved schema named oci_ai_models. If you have the requisite permissions on OCI Generative AI models in the region, the model is displayed in the oci_ai_models schema and you can drag and drop the models onto a notebook to auto-generate code for batch inference. For more information, see OCI Generative AI (Pretrained Foundation Models).
You can't change the name of a schema in a standard catalog.
To share a schema, see Share Data.
Create a Schema
You can create a schema to organize tables and volumes in a catalog that you own or that's shared with you.
- Open the Create schema dialog.
- From the left navigation pane:
- Click
Create and select Schema.
- In the Select schema location dialog, select the catalog you want to create the schema for, and click Select.
- Click
- From
Master catalog:
- In the Master catalog tree or the Catalogs tab, click the catalog you want to create the schema for to open it.
- Click Create Schema.
- From the left navigation pane:
- Enter a Schema name and Description.
- Click Create.
View Schema Details
You can view the details of a schema to review its configuration and metadata.
The Details tab for a schema displays the schema key and type, along with when and by whom the schema was created and last updated.
Edit a Schema Description
You can modify the description for a schema if its contents or purpose has changed.
Delete a Schema
You can delete a schema when it's no longer needed.
Note:
Deleting a schema also deletes all metadata and any AI Data Platform-managed data in managed tables and managed volumes associated with that schema. Make sure you back up or move any data you want to retain to another location before deleting a schema.


