A lot of data accumulates during daily operation of an AE system.
This includes:
One method to maintain the AE database is using the following utilities:
General Information
The utilities included in the maintenance procedure can be called in batch mode (see Start Parameters). Use this opportunity and create a workflow in your AE system, which carries out the individual steps on a regular basis (see example)! The particular settings need to be specified only once in the utility.
Note that system client 0000 should also be maintained! It can accumulate major amounts of data as it contains the log files of the servers and agents and other data.
Note that you must not backup the table DIVDB when you use a DB2 database and want to backup it manually before you run the reorganization process. The reason is that the reorganization process uses the table DIVDB running the statement
ALTER TABLE DIVDB ACTIVATE NOT LOGGED INITIALLY WITH EMPTY TABLE
and you can neither restore the backup data nor run the command ROLLFORWARD anymore.
To Maintain Data Records
Archive the messages, statistics and reports. Use the AE DB Archive utility for this purpose.
The generated files are clearly structured in folders organized by clients and archiving runs. As folder names also contain the corresponding dates, it is easier to locate particular data records.
Archived data can be viewed with the Archive Browser at any time. Set filters to limit the number of data records to be displayed depending on your requirements.
Reorganize the data records. Use the AE DB Reorg utility for this purpose.
Data records are marked with deletion markers in this step but are not yet deleted from the database!
Performance Improvement
The archiving, reorganizing and unloading processes can take some time if huge amounts of data are involved. The following tips can help to improve performance by accelerating the above processes:
See also:
Sample Collection - Database Maintenance with Options
Technical Maintenance of the AE database