Database directory maintenance
The databases (/integrator/sitename/exec/databases) directory can be problematic if not maintained. The system databases reuse disk space when messages are removed. These databases use disk space up to the maximum size of the file system. When a message is removed from a database, that file’s disk space remains open to store a different message. When messages are added, the disk utilization is increased.
To clean up the database files:
Using hcidbinit
- Run showroot to ensure that you are initializing the correct site.
- Run hcidbinit -A C to initialize the
databases and control files. Before initializing, the site daemons and all processes for
the site in question must be down. In this way, when you initialize, it is site specific.
This indicates that only the database files for that site are affected.
You can run hcidbinit -e or hcidbinit -r. Before initializing, the site daemons and all processes for the site in to reinitialize only that database and preserving the other one.
Using hcidbdump
- Run showroot to ensure that you are initializing the correct site.
- Run hcidbdump {-r | -e} -D to remove messages from the recovery and error database. It does not reclaim disk space, so this is not valid in this context.
- Restart the engine.