Managing Databases

Prev Next

Creating a Database in VAST Web UI

To create a VAST database via VAST Web UI:

  1. From the left navigation menu, choose DataBase -> VAST Database.

  2. In the Tenant field, select the tenant for the database.

    Note

    This option appears only if tenants are defined on the Cluster.

  3. In the VAST Database page, click Create Database.

  4. In the New Database dialog, fill in the fields:

    Field

    Description

    Database Name

    Enter a name for the database. The name must meet the requirements for S3 bucket names. A database name must be unique across all tenants.

    Path

    Enter a path for the database.

    Policy name

    Select a S3 policy from the dropdown list.

    Database owner

    Specify a database owner user.

  5. Click Create. The new database appears in the database tree.

You can also create a database by creating a View with protocol Database. See Creating Views.

Creating a Database in VAST CLI

To create a database via VAST CLI, use the schema create command. The database is created together with a schema.

Viewing a Database in VAST Web UI

  1. From the left navigation menu, choose DataBase -> VAST Database.

  2. Select the Tenant. The databases for the selected tenant are listed.

  3. Select a database, and then expand it to see details for it, such as schemas, tables, etc.

Deleting a Database in VAST Web UI

Deleting a database involves deleting all database schemas together with tables and deleting the database view.

  1. From the left navigation menu, choose DataBase -> VAST Database.

  2. In the database tree, click the schema you want to delete and choose Delete in the actions menu.

    Repeat this step for all schemas in the database that you want to delete.

  3. From the left navigation menu, choose Element Store -> Views.

  4. Find the database view in the list of Element Store views and choose Remove in its actions menu.

Deleting a Database in VAST CLI

Deleting a database involves deleting all database schemas together with tables and deleting the database view.

  1. Run the schema list command to get the ID(s) of the schema(s) in the database you want to delete.

  2. Delete the database schema(s) with the schema delete command.

  3. Run the view list command to get the ID of the database view.

  4. Delete the database view using the view delete --id ID command.