# \[PMM 3\] How to configure different retention periods for QAN (30 days) and Metrics (6 months)?

**URL:** <https://forums.percona.com/t/pmm-3-how-to-configure-different-retention-periods-for-qan-30-days-and-metrics-6-months/39690>\
**Category:** PMM 3.x\
**Created:** [November 6, 2025, 2:56am UTC](https://forums.percona.com/t/pmm-3-how-to-configure-different-retention-periods-for-qan-30-days-and-metrics-6-months/39690 "2025-11-06T02:56:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank.pan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/frank.pan/32/19835_2.png) [@frank.pan](https://forums.percona.com/u/frank.pan)\
**Post date:** [November 6, 2025, 2:56am UTC](https://forums.percona.com/t/pmm-3-how-to-configure-different-retention-periods-for-qan-30-days-and-metrics-6-months/39690/1 "2025-11-06T02:56:24Z")

</div>

Hello,

I am using PMM 3 and my QAN data is generating a very large volume, which is causing disk space issues.

I need to configure **different** retention periods for my data:

1. **QAN Data (Query Analytics):** I only need to keep this for **30 days**.

2. **Metrics Data (Node/System load, etc.):** I need to keep this for at least **6 months** (e.g., 180 days).

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [November 6, 2025, 3:12pm UTC](https://forums.percona.com/t/pmm-3-how-to-configure-different-retention-periods-for-qan-30-days-and-metrics-6-months/39690/2 "2025-11-06T15:12:51Z")

</div>

Hello @frank.pan,  
Having different retention periods is not supported at this time. You can manually delete data out of QAN by shell’ing into the pmm docker container, accessing the clickhouse db, and simply executing a DELETE sql.
