# DB Cleanup (Deleted tag history

**URL:** <https://forum.inductiveautomation.com/t/db-cleanup-deleted-tag-history/95463>\
**Category:** Ignition\
**Tags:** database\
**Created:** [September 3, 2024, 7:20am UTC](https://forum.inductiveautomation.com/t/db-cleanup-deleted-tag-history/95463 "2024-09-03T07:20:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stef\_Van\_Poucke](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@Stef\_Van\_Poucke](https://forum.inductiveautomation.com/u/Stef_Van_Poucke)\
**Post date:** [September 3, 2024, 7:20am UTC](https://forum.inductiveautomation.com/t/db-cleanup-deleted-tag-history/95463/1 "2024-09-03T07:20:44Z")

</div>

Hi All,

Is there a built-in/elegant way to delete tag history for tags that no longer exist?  
The only way I know of is by manually finding the tagid's in sqlth\_te and deleting rows from sqlt\_data\_xxxxx
