# Tag Browse Tree - How to Remove Old Tags From Historical Tree

**URL:** <https://forum.inductiveautomation.com/t/tag-browse-tree-how-to-remove-old-tags-from-historical-tree/62104>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [July 20, 2022, 7:05am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-how-to-remove-old-tags-from-historical-tree/62104 "2022-07-20T07:05:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [July 20, 2022, 8:24am UTC](https://forum.inductiveautomation.com/t/tag-browse-tree-how-to-remove-old-tags-from-historical-tree/62104/2 "2022-07-20T08:24:41Z")

</div>

> [@BryanB](#):
>
> I’ve tried deleting the rows from the sqlt\_data\_… tables , deleting their row from sqlth\_te, and restarting the historian module. This didn’t seem to work.

This should be sufficient I think. I often clean things up with something along the lines of

```sql
delete from sqlt_data_X_XXXX_XX
inner join sqlth_te
where tagid = id and retired is not null

```

then

```sql
`delete from sqlth_te where retired is not null`

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/tag-browse-tree-how-to-remove-old-tags-from-historical-tree/62104)._
