Inefficient Queries - No Lower Time Bound - Bug (Feature Request?)

I worked with support on this and we were able to solve the problem. The source of this query is the seeded values (Configuring Tag History | Ignition User Manual).

To remove these queries from the system we changed the tag history resolution mode on the charts to "Raw" and turned interpolation off. We had quite a few charts to make this change on but overall it was worth it.

It looks like system.tag.queryTagHistory() also causes this same type of query to fire under certain circumstances but we're working to correct that in our various scripts but it is taking a bit more time.

This does make the charts look a little more jagged but we were able to reduce our monthly server cost by a bit over 50% and sped up our average query time to under 20ms.