Configuring Database Purge

Purging allows you to maintain the space usage in the clock by removing old records.

To configure database purging:

  • Specify the interval at which the thread will execute. For example, every 84600 seconds or 23.5 hours:

    DBPurge.intervalSecs = 84600

  • Specify the number of days after which accepted and rejected swipes are purged:

    db.journal.purge.interval = 30

  • Specify the number of days after which messages in the message table are purged:

    db.message.timeout.interval = 2

  • When database purge is configured, the following additional records are removed:
    • All schedules older than a day are purged
    • All labor metric data older than a day are purged