Clearing a Database
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 10.0
- Documentation
You can clear all of the forest content from the database using the Admin Interface. Clearing a database deletes all of the content from all of the forests in the database, but leaves the database configuration intact.
To clear all data from a database, follow these steps:
-
Click the Databases icon on the left tree menu.
-
Decide which database you want to clear.
-
Click the database name, either on the tree menu or the summary page.
The Database Configuration page appears.
-
Click the Clear button on the Database Configuration page.
A confirmation message appears.
-
Confirm that you want to clear the forest data from this database and click OK.
Clearing a database is a “hot” admin task; the changes take effect immediately.