# Data Pruning Not Deleting Older Data as Expected

**URL:** <https://forum.inductiveautomation.com/t/data-pruning-not-deleting-older-data-as-expected/99467>\
**Category:** Ignition\
**Tags:** database, ignition79\
**Created:** [December 5, 2024, 10:07am UTC](https://forum.inductiveautomation.com/t/data-pruning-not-deleting-older-data-as-expected/99467 "2024-12-05T10:07:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [December 5, 2024, 2:30pm UTC](https://forum.inductiveautomation.com/t/data-pruning-not-deleting-older-data-as-expected/99467/4 "2024-12-05T14:30:03Z")

</div>

Recommend checking logs, as in the following related thread:

> [@Historian Data Pruning](https://forum.inductiveautomation.com/t/historian-data-pruning/41587/2):
>
> The tags.history.query.PartitionManager logger on DEBUG/TRACE may have some information; the prune task is supposed to execute every 10 minutes.

If it's been longer than 10 minutes, the logs might let you know what's wrong. In the linked thread the gateway name had changed but the pruning routine only checks historian tables under the current name's `drvid` record (presumably to prevent pruning other gateways' data on the same DB).

---

_[View the full topic](https://forum.inductiveautomation.com/t/data-pruning-not-deleting-older-data-as-expected/99467)._
