# Multiple unretired tags - TE Table

**URL:** <https://forum.inductiveautomation.com/t/multiple-unretired-tags-te-table/60501>\
**Category:** Ignition\
**Tags:** database, ignition81\
**Created:** [June 8, 2022, 4:25pm UTC](https://forum.inductiveautomation.com/t/multiple-unretired-tags-te-table/60501 "2022-06-08T16:25:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.huggins](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@justin.huggins](https://forum.inductiveautomation.com/u/justin.huggins)\
**Post date:** [June 8, 2022, 4:25pm UTC](https://forum.inductiveautomation.com/t/multiple-unretired-tags-te-table/60501/1 "2022-06-08T16:25:16Z")

</div>

Have run across a couple scenarios recently where a single tag will be un-retired on 2 tag IDs. This doesn’t necessarily seem to be a problem within Ignition itself, but does cause problems downstream. Most queries that reference tag data filter out tags that are retired and that is how we pick up the active tag ID. I suppose we just assumed that was a good way, but if the functionality allows for multiple un-retired tags we may have to rethink our approach. Just wondering what the expected behavior is? We are currently using 8.1.17

---

<div class="post-metadata">

**Author:** ![andrews](https://avatars.discourse-cdn.com/v4/letter/a/898d66/32.png) [@andrews](https://forum.inductiveautomation.com/u/andrews)\
**Post date:** [June 8, 2022, 6:19pm UTC](https://forum.inductiveautomation.com/t/multiple-unretired-tags-te-table/60501/2 "2022-06-08T18:19:37Z")

</div>

See this post

> [@What Causes a History Tag to be Retired](https://forum.inductiveautomation.com/t/what-causes-a-history-tag-to-be-retired/18933):
>
> I was cleaning up some tags before an upcoming project was deployed, and I noticed that tags that I had deleted from the default tag provider were not retired in the sqlth\_te table. That leads me to my question, what causes a tag to get retired in that table? Thanks, Brandon

---

<div class="post-metadata">

**Author:** ![justin.huggins](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@justin.huggins](https://forum.inductiveautomation.com/u/justin.huggins)\
**Post date:** [June 8, 2022, 6:50pm UTC](https://forum.inductiveautomation.com/t/multiple-unretired-tags-te-table/60501/4 "2022-06-08T18:50:11Z")

</div>

Ok, that is sort of the expectation I had for it and seemed like it was fine in 7.9. Should we expect the same in 8.1, does it work differently? Any known bugs in 8.1? For reference, digging into this a little more, we have 52,692 tagpaths with at least two active tag ids.
