# History cleanup after history=NONE

**URL:** https://forum.flowable.org/t/history-cleanup-after-history-none/9202
**Category:** Uncategorized
**Created:** [April 14, 2022, 4:09pm UTC](https://forum.flowable.org/t/history-cleanup-after-history-none/9202 "2022-04-14T16:09:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mjc](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/mjc/32/2749_2.png) [@mjc](https://forum.flowable.org/u/mjc)
#### Post date: [April 14, 2022, 4:09pm UTC](https://forum.flowable.org/t/history-cleanup-after-history-none/9202/1 "2022-04-14T16:09:21Z")

</div>

Hi

Is it safe to execute sql to truncate the history tables after history level is set to NONE? Currently when history is disabled we can’t use the API’s or rely on history cleanup (unless I’m mistaken) to delete existing history data since it checks history level.

---

<div class="post-metadata">

### Author: ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)
#### Post date: [April 20, 2022, 6:57pm UTC](https://forum.flowable.org/t/history-cleanup-after-history-none/9202/2 "2022-04-20T18:57:15Z")

</div>

If you’re running with NONE, no history will be persisted. So yes, if you don’t need old data anymore (from running with another history level), the data can be deleted.

---

<div class="post-metadata">

### Author: ![jothianand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/jothianand/32/3157_2.png) [@jothianand](https://forum.flowable.org/u/jothianand)
#### Post date: [January 24, 2024, 12:28pm UTC](https://forum.flowable.org/t/history-cleanup-after-history-none/9202/3 "2024-01-24T12:28:29Z")

</div>

@mjc & @joram , are there any potential impacts in turning off the history completely ?

---

<div class="post-metadata">

### Author: ![valentin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/valentin/32/3367_2.png) [@valentin](https://forum.flowable.org/u/valentin)
#### Post date: [January 25, 2024, 10:14am UTC](https://forum.flowable.org/t/history-cleanup-after-history-none/9202/4 "2024-01-25T10:14:36Z")

</div>

Yes, e.g. it will be faster (since less data is written) and you won’t have the history afterwards.

---

<div class="post-metadata">

### Author: ![jothianand](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/jothianand/32/3157_2.png) [@jothianand](https://forum.flowable.org/u/jothianand)
#### Post date: [January 26, 2024, 3:11pm UTC](https://forum.flowable.org/t/history-cleanup-after-history-none/9202/5 "2024-01-26T15:11:03Z")

</div>

Thanks @valentin for the response.

Are there any negative impacts or downside of not having history.
