Creating and Removing Databases
To create a database, use the createdb command. The basic syntax is:
createdb <database name>
You can run multiple databases under the one instance, but each database will take the full resource allocation as described in
Configuring Database Resources. If running multiple databases, reduce the allocated resources given to each database. This can be done by lowering the resources allocated in the shared configuration file, or by giving each database its own configuration file (see the
User Guide).
If running under YARN, the instance should have only one database. Running multiple databases under YARN is possible, but requires experience in configuring both YARN and VectorH.
To remove a database, use the destroydb command:
destroydb <database name>
Note: By default, destroydb will destroy the data without asking for confirmation (presuming you are the owner of the database)!