Hi PMM Community,
We are running PMM Server 2.x in Docker on RHEL and noticed that the PMM data volume has grown significantly over time.
Current environment:
- PMM Server: 2.x (Docker deployment)
- Docker image: percona/pmm-server:2
- Uptime: approximately 2 years
- Docker volume size:
docker system df -v
Local Volumes space usage:
VOLUME NAME LINKS SIZE
pmm-data 1 110.1GB
The container writable layer is only about 5.5 GB, so most of the storage consumption appears to be inside the persistent pmm-data volume.
Before performing any cleanup, we would like to understand the recommended and supported way to reclaim disk space safely.
Questions:
- What is the recommended procedure to identify which PMM component is consuming the most storage (VictoriaMetrics, ClickHouse/QAN, logs, etc.)?
- Is there a supported method to reduce storage usage without losing all historical monitoring data?
- Can retention policies be adjusted retroactively to reclaim existing space?
- Are there any PMM maintenance commands or cleanup procedures recommended by Percona?
- Has anyone successfully reduced a large PMM data volume while preserving recent monitoring history?
Any guidance or best practices would be greatly appreciated.
Thank you.