Clearing a Database
- Last Updated: April 15, 2026
- 1 minute read
- MarkLogic Server
- Version 12.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 Databases in the left tree menu. A list of databases appears.
-
Click your target database.
-
Click the Clear button.
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.