Skip to main content

Administrating MarkLogic Server

Deleting a Database

A database cannot be deleted if there are any HTTP, WebDAV, or XDBC servers that refer to the database. Deleting a database detaches the forests that are attached to it, but does not delete them. The forests remain on the hosts on which they were created with the data intact.

To delete a database, follow these steps:

  1. Click Databases in the left tree menu. A list of databases appears.

  2. Click your target database.

  3. Click Delete near the top right.

  4. Assuming that there are not any HTTP, WebDAV, or XDBC servers referring to the database, a delete confirmation screen appears. Click OK.

  5. If you want to delete the forests used by the database, follow the procedure described in Deleting a Forest from a Host for each forest.

Note

Clicking the Clear button clears all of the forests attached to this database, removing all of the data from the forests. Clicking the Delete button removes the database configuration, but does not delete the data stored in the forests.

The database is now permanently deleted. Deleting a database is a “hot” admin task.