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.

Caution: You must shut down the database before you can invoke the delete operation on it (see Shutdown Database).



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"