17.10 - Configuring Cleanup of Space Usage Collector Tables - Teradata Viewpoint - Teradata Workload Management

Teradata® Viewpoint User Guide

Product
Teradata Viewpoint
Teradata Workload Management
Release Number
17.10
Release Date
October 2021
Content Type
User Guide
Publication ID
B035-2206-101K
Language
English (United States)
  1. Open /opt/teradata/viewpoint/dcs/config/dcs.properties.
  2. Set spacecollector.cleanUp.enabled=true to clean up the disk usage tables.
    The default setting is false.
    #spacecollector.cleanUp.enabled=true
    #The interval time for each cleanup job run. Default value is 1 week.
    #spacecollector.cleanUpRate=604800000
    #Parameter for data retention in terms of cache database size. Allowed size units (KB/MB/GB)
    #spacecollector.retentionSize=10GB
    #Parameter for data retention in terms of duration. Allowed time units (DAY/DAYS/WEEK/WEEKS/MONTH/MONTHS/YEAR/YEARS)
    #spacecollector.retentionTime=10MONTHS
  3. Save the file and restart the dcs service:
    service dcs restart