View Component 25.2
View Component Help

# Delete a Database and All its Documents

You can delete an Content component database and all the documents that it contains either by sending a `DREREMOVEDBASE` action, or by using the Knowledge Discovery Admin interface.

## Delete a Database and All its Documents by Sending an Action

You can delete an Content component database and all the documents that it contains by sending a `DREREMOVEDBASE` action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DREREMOVEDBASE?DREDbName=databaseName

where:

`ContentHost` | is the IP address or host name of the machine on which the Content component is installed.
`indexPort` | is the Content component index port (specified as `IndexPort` in the `[Server]` section of the Content component configuration file).
`databaseName` | is the name of the database that you want to delete. The documents in this database are deleted as well.

For example:

    http://MyHost:20001/DREREMOVEDBASE?DREDbName=Archive

This action uses port `20001` to delete the `Archive` database and all documents that it contains from the Content component on the machine with host name `MyHost`.

NOTE: This index action does not complete if the configuration file is read-only.

## Delete a Database and All its Documents by using Knowledge Discovery Admin

Use the following procedure to delete a database and all its documents by using the Knowledge Discovery Admin interface.

To delete a database and all its documents by using Knowledge Discovery Admin

1. In the Control menu, click Databases.

2. In the Database Control column, click next to the database that you want to delete.

   The Delete Database dialog box opens.

3. Click Delete.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.2

Topic Title: Delete a Database and All its Documents