#
Configuring Database Cleanup
You should have access to the Core Server installation for important configuration.
This functionality cleans the loaded data in the SQL database. Use this to free up space when the database has grown too large in volume.
The daily processing of Analysis Server data includes the Database Cleanup processing. The configuration will reflect on the next execution, but for immediate testing, run the RunEtl command and see the effect of the configuration.
Make sure to activate the database cleanup processing.
#
Configuring openit.cfg for Database Cleanup
In a Core Server installation, open
openit.cfg
in the Configuration directory which is by default located inC:\Program Files\OpeniT\Core\Configuration
.Locate the following directives and set its values:
If the directives does not exist, add it at the bottom of the file.
DBCLEAN_ENABLE - triggers the Core Server to do database cleanup.
DBCLEAN_ENABLE y
DBCLEAN_INTERVAL - the day when to perform the cleanup. The default value is Sunday.
DBCLEAN_INTERVAL Sunday
Save the changes.
#
Database Cleanup Settings for Analysis Server
This configuration file includes parameters that determine how the cleanup process is executed and which data type is targeted for deletion.
Open
database_cleanup.conf
in the Configuration directory of Core Server, located by default inC:\Program Files\OpeniT\Core\Configuration\
.Notice that it contains instructions on how to edit the file. If configuring Analysis Server, follow the instructions specified for Analysis Server; and if configuring Core Server, follow the instructions specified for Core Server.
Specify settings by adding entries with the following syntax:
SDW:AA:B:CCC
Where:
Database Cleanup Settings for Analysis Server
Example 1
The following configuration deletes StorageAnalyzer data types, Filesystems and Filespace, that are older than three years.
SDW:24:Y:3 SDW:29:Y:3
Example 2
The configuration below deletes all data types in the Analysis Server that are older than five years.
SDW:*:Y:5
Save the changes.
#
Configuration Examples
Use the following examples as guide for configuring database cleanup.
The file treats the '*' (all) as the general level and the data types is in the higher level. The data types with specific entry will be excluded in processing the for the entry for '*' (all) level. This means that the lines can be sorted any way.