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 the Databases icon on the left tree menu.

  2. Locate the database you want to delete, either in the tree menu or in the Database Summary table.

  3. Click the name of the database which you want to delete.

    db_delete_v10.gif
  4. Click Delete near the top right.

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

  6. 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.