DB Cleanup Configuration
As an Administrator, you can configure an automated cleanup process to delete obsolete workflow Executions, Packages, Artifacts, and History Records from the database.
Important! You may also perform a cleanup via CLI with the Clean-up Utility. For more information, see: Cleaning Up the CDA Database.
To Set Up an Automated Cleanup Process
- Open the Administration perspective.
- Navigate to Release Automation Management > Cleanup Configuration.
- Select the Automatic Cleanup checkbox.
- In the Executions Interval section, select a cleanup frequency.
Options: daily, weekly.
- If a weekly frequency is defined, select one or more weekdays on which the cleanup should be performed.
- Select a time and a timezone.
The system displays the planned date and time for the next execution of the cleanup workflow.
- Save your changes.
To Configure Cleanup Rules
- In the Rules section, you can select the entity types to which the cleanup should be applied. For example, Artifacts.
- Select one or more states that the entities should be in in order to be considered for deletion:
- Successfully deployed/executed.
- Deployment/execution failed.
- No yet deployed/executed
- Archived
- Select a time frame (for example, last 90 days)
- You can also keep a minimum amount of entities in the system (for example: 5)
To See the History Records of the Cleanup Executions
- Click the History button in the toolbar.
- The Cleanup History view is displayed, where you can see the changes made to the objects and export the records to a csv file.