--- title: "Purge and optimize" slug: "purge-and-optimize" tags: ["Security for MS Exchange", "Product Usage"] updated: 2026-09-02T14:48:28Z published: 2026-09-02T14:48:28Z canonical: "docs.trellix.com/purge-and-optimize" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Purge and optimize Remove old items marked for deletion from the database and use optimization task to recover disk space being taken up by deleted database records. 1. From the product's user interface, click Settings & Diagnostics → Detected Items. The **Detected Items** page appears. 2. From the **Local Database** section, you can use: - **Purge of old items frequency** — To specify how frequently old items that are marked for deletion are deleted from the TSME database. The default value is set to **Monthly**. - **Optimization frequency** — To recover the disk space taken up by deleted database records. Based on the value set under **Maximum item age (days)**, old records will be deleted if you have scheduled a purge task. After deleting these old records, TSME will still use the disk space specified under **Disk space threshold (MB)** field, even if the quarantine database has not reached the size limit. To optimize and shrink the database, schedule an optimization task. The default value is set to **Monthly**. ### Note Always schedule an optimization task a few hours after you perform the purge task. 3. Click **Edit Schedule** to modify the schedule. ### Note These tasks should be performed on a regular basis to maintain adequate free space in the database. :