You are here: Database Administration > Managing Database Operations > Deleting Databases

Deleting Databases

It is necessary to stop (shutdown) a database before deleting it.

Delete a Database in NuoDB Manager

nuodb [domain] > show domain summary
 
Hosts:
[broker] * ec2-54-173-96-113.compute-1.amazonaws.com/172.31.14.118:48004 (us-east-1)
[broker] ip-172-31-46-122/54.165.58.157:48004 (us-east-1)
 
Database: test, template [Minimally Redundant] UNMET STOPPED processes [0 TE, 0 SM], INACTIVE
nuodb [domain] > delete database test
nuodb [domain] > show domain summary
 
Hosts:
[broker] * ec2-54-173-96-113.compute-1.amazonaws.com/172.31.14.118:48004 (us-east-1)
[broker] ip-172-31-46-122/54.165.58.157:48004 (us-east-1)

Caution: Deleting a database is a non-recoverable action and should be executed with great caution. Deleting a database removes all metadata from the durable domain configuration but does not delete the database's archive. In other words, it does not delete the data that the database contains. The archive directory can be removed from disk manually.