Managing Databases

Prev Next

Creating a Database via VAST Web UI

To create a VAST database via VAST Web UI:

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

  2. In the VAST DB page that opens, click the + New Database button.

  3. 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.

    Path

    Enter a path for the database.

    Policy name

    Select a S3 policy from the dropdown list.

    Database owner

    Specify a database owner user.

  4. Click Create.

The newly created database is displayed in the database tree.

Creating a Database via VAST CLI

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

Deleting a Database via 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 DB.

  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 via 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.