# How to Reclaim Disk Space on PMM 2 Docker Deployment (RHEL)

**URL:** <https://forums.percona.com/t/how-to-reclaim-disk-space-on-pmm-2-docker-deployment-rhel/40827>\
**Category:** Uncategorized\
**Created:** [May 21, 2026, 2:28am UTC](https://forums.percona.com/t/how-to-reclaim-disk-space-on-pmm-2-docker-deployment-rhel/40827 "2026-05-21T02:28:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ly\_Kimmeng](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ly_kimmeng/32/23228_2.png) [@Ly\_Kimmeng](https://forums.percona.com/u/Ly_Kimmeng)\
**Post date:** [May 21, 2026, 2:28am UTC](https://forums.percona.com/t/how-to-reclaim-disk-space-on-pmm-2-docker-deployment-rhel/40827/1 "2026-05-21T02:28:30Z")

</div>

Hi Team,

We are currently using PMM Server 2 deployed on Docker in a RHEL Linux environment.

Recently, we noticed that the disk usage on the PMM server has been growing continuously and is starting to consume a large amount of storage space.

We would like to get recommendations and best practices on how to safely reclaim disk space and manage PMM storage growth.

Environment details:

- PMM Version: PMM 2

- Deployment Type: Docker container

- Operating System: RHEL Linux

- PMM is monitoring multiple database servers

We would appreciate guidance on the following:

- How to identify which PMM components are consuming the most disk space

- How to check Docker volumes used by PMM

- Whether old metrics, logs, or monitoring data can be cleaned up manually

- Recommended retention settings for Prometheus / VictoriaMetrics

- Safe procedures to reclaim space without impacting monitoring

- Any recommended Docker cleanup or PMM maintenance steps

- Best practices for long-term storage management in PMM 2

If there are official documents or commands that can help investigate storage usage, please share them as well.

Thank you.

---

<div class="post-metadata">

**Author:** ![anil.joshi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anil.joshi/32/13100_2.png) [@anil.joshi](https://forums.percona.com/u/anil.joshi)\
**Post date:** [May 21, 2026, 9:09am UTC](https://forums.percona.com/t/how-to-reclaim-disk-space-on-pmm-2-docker-deployment-rhel/40827/2 "2026-05-21T09:09:53Z")

</div>

@Ly_Kimmeng

Let me provide some manuals and links that offer insight into data retention policy and ways to prune old metrics using VM downsampling.

**Data retention:**

> **[Example - Percona Monitoring and Management - Configure](https://docs.percona.com/percona-monitoring-and-management/2/how-to/configure.html?h=advance+sett#example)**
>
> The Settings page is where you configure PMM.

**You can limit or disable tablestats if not really needed:**

> **[Percona Monitoring and Management - Optimize](https://docs.percona.com/percona-monitoring-and-management/2/how-to/optimize.html?h=optimize)**
>
> Documentation

**Victoria Metrics Downsampling/pruning:**

> **[Downsampling Metrics in Percona Monitoring and Management: Saving Space and...](https://www.percona.com/blog/downsampling-metrics-in-percona-monitoring-and-management-saving-space-and-improving-performance/)**
>
> Learn how to downsample metrics in Percona Monitoring and Management to save space and improve performance. Discover effective strategies to optimize your database monitoring and management.

Well, you can also check this blog post to validate or remove any orphan containers or volumes that exist somehow.

> **[Reclaiming space on your Docker PMM server deployment](https://www.percona.com/blog/reclaiming-space-on-your-docker-pmm-server-deployment/)**
>
> If you run out of space in a Docker PMM server deployment how do you reclaim space? Agustín takes you through the stages, and suggests how to future proof.

Since PMM 2.41.0, ClickHouse was upgraded from version 21.3.20.1 to 23.8.2.7, introducing changes in how logs are written and retained. If you are using PMM ≥ 2.41.0, clickhouse records are inserted into log tables every second, which can cause rapid table growth.

Can you please confirm your exact PMM version?

---

<div class="post-metadata">

**Author:** ![Ly\_Kimmeng](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ly_kimmeng/32/23228_2.png) [@Ly\_Kimmeng](https://forums.percona.com/u/Ly_Kimmeng)\
**Post date:** [May 21, 2026, 9:24am UTC](https://forums.percona.com/t/how-to-reclaim-disk-space-on-pmm-2-docker-deployment-rhel/40827/3 "2026-05-21T09:24:29Z")

</div>

Dear @anil.joshi ,

Thank you for your respond.

Here is our PMM server Version: 2.44.0.

If you require more information please let me know.

Best regards,

Kimmeng
