schema create

Prev Next

This command creates a VAST database schema.

Usage

schema create --name SCHEMA
              --database-name DATABASE 
             [--tenant-id TENANT]     

Required Parameters

--name SCHEMA

Enter a name for the schema being created. The name must meet the requirements for S3 object names.

--database-name DATABASE

Enter the name of the database where the schema is created.

A database can contain one or more schemas. The database name must meet the requirements for S3 bucket names.

Options

--tenant-id TENANT

Enter the ID of the tenant where the database resides

If omitted, the default tenant is assumed.

Example

This example shows adding a schema named schema1 to database vastdb:

vcli: admin> schema create --name schema1 --database-name vastdb