DBMaintenance utility can be used to perform the following maintenance tasks on the CommServe database:
This utility is located at <Software Installation Path>/Base directory. From the command prompt, run dbmaintenance with appropriate parameters from the list of available parameters. Running the utility without any parameters will give the complete list of supported parameters.
The CommCell services must be stopped before performing database maintenance.
The database instance and the logon credentials can be provided in the following optional connection parameters:
If this utility is run on a CommServe without any of the above mentioned connection parameters, the database instance will be automatically detected, and the logon information will be retrieved from the encrypted data in the registry.
The following maintenance parameters are available:
Instead of the two maintenance schedules outlined above (full and recommended), it is also possible to specify the type of maintenance from the custom maintenance parameters given below.
The following custom maintenance parameters are available:
Shrinking the database is not recommended on a regular basis. For this reason do not perform a full maintenance regularly. If you would like to reindex all tables, use the reindexall option. Combining the reindexall with the checkdb option will have desired effect.
|
The following options can be used to troubleshoot the database:
Review the following recommendations before using this utility:
The following examples explain the usage of this command in different scenarios:
dbmaintenance -full
dbmaintenance -recommended
dbmaintenance -reindex archchunkmapping