# Tag History - Tag change Management

**URL:** <https://forum.inductiveautomation.com/t/tag-history-tag-change-management/26304>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [July 4, 2019, 8:53pm UTC](https://forum.inductiveautomation.com/t/tag-history-tag-change-management/26304 "2019-07-04T20:53:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![koryk](https://avatars.discourse-cdn.com/v4/letter/k/cdc98d/32.png) [@koryk](https://forum.inductiveautomation.com/u/koryk)\
**Post date:** [July 4, 2019, 8:53pm UTC](https://forum.inductiveautomation.com/t/tag-history-tag-change-management/26304/1 "2019-07-04T20:53:06Z")

</div>

Hey all, hope you’re having a great 4th of July!

I am currently working on updating our tag directory structure in Ignition. This is a iterative process, and as such, tags have been renamed and moved multiple times. I currently have a fairly solid process to move and / or rename the tags, which includes running a script to automatically update the sqlth\_te records so that history is not lost when a tag gets renamed or moved. However, some tags have now been touched 5 or 6 times, so the sqlth\_te record count is starting to get out of control.

Does Inductive Automation, or anyone in the community have a decent procedure to clean these up? This is likely more of a SQL task than anything else, but I thought I’d reach out to see what brilliance has been accomplished by others!

And I don’t know if its overly relevant or not, but I am also using the history\_splitter to send this data to a central location (multiple gateways feed the central database), so I have multiple sqlt\_data tables for each month.

Thanks!

---

<div class="post-metadata">

**Author:** ![qversa](https://avatars.discourse-cdn.com/v4/letter/q/35a633/32.png) [@qversa](https://forum.inductiveautomation.com/u/qversa)\
**Post date:** [February 11, 2020, 11:30pm UTC](https://forum.inductiveautomation.com/t/tag-history-tag-change-management/26304/2 "2020-02-11T23:30:51Z")

</div>

Doesn’t look like you ever got a response to this. Were you able to figure something out? I am having a similar issue where my sqlth\_te table is getting out of control. My Tag History trends have just stopped working altogether. I’ve tried to manually cleanse the sqlth\_te table down to just one record per tagid but still no love.
