Delete Database

This is a NuoDB Manager command. See NuoDB Manager.


For the database you specify, this command deletes metadata from the durable domain configuration. Deleting a database does not delete the database's archive. In other words, it does not delete the data that the database contains.
You must shut down the database before you can invoke the delete operation on it (see Shutdown Database).
Alternatively, use the Automation Console: click Databases, choose the database whose information you want to delete from the durable domain configuration and then click delete (in the upper right corner) for the database of interest.


delete database database_name


Interactive Example

nuodb [domain] > delete database myNoLongerNeededDb
nuodb [domain] >

Scripting Example

The same delete database command can be executed with --command as follows:

nuodbmgr --broker host --password password \
    --command "delete database myNoLongerNeededDb"