Skip to main content

Administrating MarkLogic Server

Disabling a Database

You can disable a database using the Admin Interface. You can either disable only the database or the database along with all of its forests. Disabling only the database marks the database as disabled and unmounts all the forests from the database. However, the database forests remain enabled. Disabling the database and its forests marks the database and each forest as disabled, unmounts all the forests from the database, and clears all memory caches for all the forests in the database. The database remains unavailable for any query operations while it is disabled.

Disabling a database does not delete the configuration or document data. The database and forest can later be re-enabled by clicking Enable.

To disable a database, follow these steps:

  1. Click the Databases icon on the left tree menu.

  2. Decide which database you want to disable.

  3. Click the database name, either on the tree menu or the summary page.

    The Database Configuration page appears.

  4. Click the Disable button on the Database Configuration page.

    A confirmation message appears.

  5. Click either Disable Database to disable only the database, or Disable Database and Forests to disable the database and its forests.