Skip to content

Manage schemas

This topic introduces how to manage schemas in NebulaGraph Cloud.

  1. On the Database page, click the name of the database that you created to view the database details.
  2. On the left-side navigation pane of the database details page, click Graph under Data.
  3. Follow the steps below to create, delete, and switch schemas.

Create schemas

NebulaGraph Studio automatically loads the home schema when a session is started. The schema located at the logical path /default_schema is used as the home schema by default. To create new schemas, follow these steps:

  1. In the top navigation bar, click the SCHEMA tab.
  2. In the upper-right corner of the page, click the current schema and click Create Schema.
  3. In the dialog box that appears, enter the path of the schema and click Create.
  4. The newly created schema is displayed on the Catalog page.

Delete schemas

To delete a schema, follow these steps:

  1. In the top navigation bar, click the SCHEMA tab.
  2. In the upper-right corner of the page, click the current schema and click View All Schemas.
  3. On the Catalog page that appears, select the schema you want to delete.
  4. Click more actions icon at the right of the schema and click Delete.
  5. On the confirmation dialog box that appears, enter the path of the schema and click Delete.

Switch schemas

To switch the schema loaded by NebulaGraph Studio, follow these steps:

  1. In the top navigation bar, click the SCHEMA tab.
  2. In the upper-right corner of the page, click the current schema.
  3. In the drop-down list that appears, click the schema you want to switch to.
  4. The selected schema is loaded by NebulaGraph Studio.