# When is data pruning triggered?

**URL:** <https://forum.inductiveautomation.com/t/when-is-data-pruning-triggered/11302>\
**Category:** General Discussion\
**Created:** [March 2, 2016, 5:19pm UTC](https://forum.inductiveautomation.com/t/when-is-data-pruning-triggered/11302 "2016-03-02T17:19:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bob/32/16899_2.png) [@Bob](https://forum.inductiveautomation.com/u/Bob)\
**Post date:** [March 2, 2016, 5:19pm UTC](https://forum.inductiveautomation.com/t/when-is-data-pruning-triggered/11302/1 "2016-03-02T17:19:55Z")

</div>

I enabled data pruning and set the Prune Age to 1 Month and saved the changes. Partitioning is enabled with a Partition length of 1 Month.

At first the data (table partition) was not pruned, but eventually it was. I believe it was after at least 15 minutes or so after enabling pruninig. I did not record the time when I enabled pruning.

This is acceptable behavior, but it still left me wondering what triggers the pruning so that I can know when to expect the data to be deleted? Is it configurable in anyway when the pruning would occur?

Thank you,  
Bob

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [August 12, 2016, 6:44am UTC](https://forum.inductiveautomation.com/t/when-is-data-pruning-triggered/11302/2 "2016-08-12T06:44:02Z")

</div>

![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:") when the history pruning is triggered ?

---

<div class="post-metadata">

**Author:** ![tyler.bennett](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@tyler.bennett](https://forum.inductiveautomation.com/u/tyler.bennett)\
**Post date:** [October 13, 2023, 10:48pm UTC](https://forum.inductiveautomation.com/t/when-is-data-pruning-triggered/11302/3 "2023-10-13T22:48:24Z")

</div>

> [@Historian Data Pruning](https://forum.inductiveautomation.com/t/historian-data-pruning/41587/2):
>
> the prune task is supposed to execute every 10 minutes.

🤓
