# queryHistory() functionality

**URL:** <https://forum.inductiveautomation.com/t/queryhistory-functionality/112735>\
**Category:** Module Development\
**Tags:** ignition81, vision\
**Created:** [December 10, 2025, 4:47pm UTC](https://forum.inductiveautomation.com/t/queryhistory-functionality/112735 "2025-12-10T16:47:19Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [December 17, 2025, 8:07pm UTC](https://forum.inductiveautomation.com/t/queryhistory-functionality/112735/7 "2025-12-17T20:07:31Z")

</div>

Might just be missing/incorrect indexing; see this thread where someone cut their 1.5 minute history query times down dramatically:

> [@Ignition 8.3.2 queryHistory() latency](https://forum.inductiveautomation.com/t/ignition-8-3-2-queryhistory-latency/112778/3):
>
> I am not sure why it was initially ok when I had switched to an external historian, but the issue seems to have returned. The gateway is now also producing this output: Has anyone else come across this warning before?

---

_[View the full topic](https://forum.inductiveautomation.com/t/queryhistory-functionality/112735)._
