Delete Tag Provider from Historian

Hi everyone,

So as the title says it, I restored a project backup from another project and used that as a starting point, I have historian enabled and the old tags from the old project are still showing up in my tag browser when I used a PowerChart, the tags no longer exist as I deleted it from the gateway tag providers list. Is there anyway to clear these off the Tag Browser?

Have you tried starting with a fresh database? Or are you using the Internal Historian? If using the Internal Historian, you might want to look for the sqlite database file in the install directory. If using another database, you could start with a clean database or empty the corresponding historian tables. Proceed with caution. I am assuming you are in a test environment and not about to delete production data.

1 Like

I like this idea however, instead of deleting the whole db could I just delete things from the sqlth_te table?

You could delete those, but you may have to clean up some of the other tables…all depends on your setup. You could also delete the sqlth_* tables only if you have other tables in that database. Be sure to restart the tag historian so that it re-creates the necessary tables again. Again, proceed with caution.