Delete obsolete data
Unlike the archive mode, you can use this mode to permanently delete the obsolete data from the primary tables without copying it into the archive tables.
The following Setup.cfg properties allow you to configure the purge utility to delete obsolete data:
| Property | Value |
|---|---|
| purge.resource_to_purge | SPONSOR |
| purge.resource_to_purge_key | (no value) |
| purge.purge_strategy | DELETE |
| purge.purge_strategy.data_scope | DELETED_DATA |
| purge.number_of_purge_days | 180 - change as needed. |
| purge.sponsor_context | <sponsor-context> |
Note: The resource_to_purge_key property is not required as the utility automatically picks up the required key using the sponsor_context property.
For the list of all configurable properties, see Configuration properties.