Hello all,
I was wondering if someone could give more detail as to why manually querying tag history is not recommended. Looking at this article, it says that Ignition offers a variety of ways to query the data but does not recommend manually querying.
Although, I have a client who requests that the production database house only the last 90 days of data. Their policies state they cannot delete any data, so I built a SQL script that creates a backup database when the size reaches 8GB, as well as a table and inserts the tag history that is older than 90 days into these. After inserting, the records will be deleted from the production database
Normally I would not need to do this, but they have the EXPRESS version of SQL which is limited to 10GB per database. So far through testing I haven't seen any issues with this. Just want to make sure there won't be any unforeseen errors in the future.
Thank you!