Cleaning up the OrientDB database
About this task
The OrientDB Maintenance script can be used to clean up the OrientDB database. The script
identifies the OrientDB databases that are not longer referenced by the symbolic links and deletes
them. The OrientDBDatabaseMaintenance-x.x.bat script is
located in the <IBM ADDI Installation
Folder>\support\OrientDBDatabaseMaintenance\ folder.
Note: For security reasons, the
deletion steps are commented (REM) at lines 255 and 257.
Procedure
- Go to <IBM ADDI Installation Folder>\support\OrientDBDatabaseMaintenance\ folder and run the OrientDBDatabaseMaintenance-x.x.bat script.
- If unnecessary database folders are found, use option Y (Yes) to remove all unused database folders.
- Check the logs under the C:\ADlogs\BatchServer\orientdb\MaintenanceLogs\ folder to review any database folder name that was removed.
Results
All unused database folders are removed.