Overview Release Notes Central Hub Deployment Kubernetes Configuration Advanced Deployment
Getting Started
Deployment & Usage
Support
References
Operating
v5.8.0
Search this version
Operating
Operating
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Database Maintenance | MetaDefender Core 4.19.0 or above
Copy Markdown
Open in ChatGPT
Open in Claude
PostgreSQL database could be more bulky over time with high scanning traffic. Even manually removing scan history or leaving it to data retention to clean up old records, it will not immediately remove actual data in the PostgreSQL database which is fully controlled by PostgreSQL.
The tool which is bundled with MetaDefender Core installation is to analyze database and vacuum database effectively, and simplify IT administration.
- Windows:
<MetaDefender Core installation folder>\ometascan-vacuum-db.exe - Linux:
/usr/sbin/ometascan-vacuum-db
How-to run instructions
Windows
- Open cmd as Administrator
- Navigate to MetaDefender Core installation folder (e.g.
C:\Program Files\OPSWAT\MetaDefender Core) - Call: ometascan-vacuum-db.exe with no arguments.
- Upon done, expected to have a new database analysis and vacuum outcome package auto generated in the same folder with format:
analyze_and``_cleanup_database``<timestamp>.zip
Linux
- Run as superuser privileges:
sudo export LD_LIBRARY_PATH=/usr/lib/ometascan - Run as superuser privileges:
sudo /usr/sbin/ometascan-vacuum-db - Upon done, expected to have a new database analysis and vacuum outcome package auto generated in
/usr/lib/ometascan/with format:/usr/lib/ometascan/analyze_and_cleanup_database_<timestamp>.tar.gz
What’s inside the generated package?
Including database object size analysis before and after running vacuum, the vacuum result and log, the new database size after vacuum. That helps us analyze and determine how effective the vacuum performs against that database, and investigate if any issue occurs.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Database Maintenance | MetaDefender Core 4.18.0Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message
On This Page