How to manage Disk Space Usage in pg_data\base directory in MetaDefender Core for Windows?

Issue

The directory located at OPSWAT\MetaDefender Core\data\pg_data\base continues to grow in size until the disk becomes full, eventually causing scans to fail or stop running altogether.

Cause

This folder stores critical components such as:

  • Scanning history

  • Executive report

  • Other related data used by MetaDefender Core

Without proper data retention policies in place, this data accumulates indefinitely, consuming excessive disk space.

Solution

To manage and reduce the size of this directory, configure automatic deletion through the Data Retention settings in MetaDefender Core. Steps to Configure Automatic Deletion:

  1. Navigate to the Settings page in the MetaDefender Core UI.

  2. Go to the Data Retention section.

  3. Set a retention period—we recommend 1 to 4 weeks, depending on your organizational needs and storage capacity.

  4. For Deep CDR and DLP, these are recommended to remain set to the 4 h default.

Optional: Immediately Free Up Space

To quickly recover disk space after updating the settings:

Note:

Please consider that even after data retention changes, it will take some time for the storage to be cleaned (usually up to 24 h, due to the internal database vacuum process).

If Further Assistance is required, please proceed to log a support case or chatting with our support engineer.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard