Configure Databases

The Content component can store documents in different databases. You can configure up to 65534 databases in an Content component.

Indexing data into different databases allows you to restrict queries to data in a particular database. This can improve the performance of your queries.

You can add databases to the Content component by editing the configuration file or by sending an index action. For details of adding a database by editing the configuration file, refer to the Knowledge Discovery Administration Guide and the Content component Reference.

To add Content component databases

  • Send a DRECREATEDBASE action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DRECREATEDBASE?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 Content component configuration file [Server] section).
    databaseName is the name of the database that you want to create.

For example:

http://12.3.4.56:20001/DRECREATEDBASE?DREdbname=Archive

This action uses port 20001 to create a new database named Archive on the Content component installed on the machine with the IP address 12.3.4.56.

You can also add other index action parameters to this action, for example to make the new database internal. For details, refer to the Content component Reference.