# Regular loss of tag refreshes when the source is a database query.

**URL:** <https://forum.inductiveautomation.com/t/regular-loss-of-tag-refreshes-when-the-source-is-a-database-query/84633>\
**Category:** Ignition\
**Tags:** database\
**Created:** [January 23, 2024, 12:47pm UTC](https://forum.inductiveautomation.com/t/regular-loss-of-tag-refreshes-when-the-source-is-a-database-query/84633 "2024-01-23T12:47:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radoslaw\_Wazynski](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@Radoslaw\_Wazynski](https://forum.inductiveautomation.com/u/Radoslaw_Wazynski)\
**Post date:** [January 23, 2024, 12:47pm UTC](https://forum.inductiveautomation.com/t/regular-loss-of-tag-refreshes-when-the-source-is-a-database-query/84633/1 "2024-01-23T12:47:31Z")

</div>

In our SCADA, we use database queries, the results of which are drawn on charts or shown in graphs using tags.  
When our PostgreSQL installation is restarted, charts and graphs usually, but not always, hang and the tag source refresh timestamp remains unchanged.  
Only restarting the gateway enables regular refreshing of tags.  
Do you know what could be the reason? Randomly, it seems to us that other things may also have an influence, but we don't know what yet.

---

<div class="post-metadata">

**Author:** ![Jacob\_Wever](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Jacob\_Wever](https://forum.inductiveautomation.com/u/Jacob_Wever)\
**Post date:** [January 30, 2024, 12:29am UTC](https://forum.inductiveautomation.com/t/regular-loss-of-tag-refreshes-when-the-source-is-a-database-query/84633/2 "2024-01-30T00:29:35Z")

</div>

Is this graph/chart in vision or perspective? How is data for this chart being queried, binding, script, etc. It might be worth submitting a ticket to have someone take a closer look at this issue.

[https://support.inductiveautomation.com/hc/en-us](https://support.inductiveautomation.com/hc/en-us)

---

<div class="post-metadata">

**Author:** ![Radoslaw\_Wazynski](https://avatars.discourse-cdn.com/v4/letter/r/a698b9/32.png) [@Radoslaw\_Wazynski](https://forum.inductiveautomation.com/u/Radoslaw_Wazynski)\
**Post date:** [January 30, 2024, 7:30am UTC](https://forum.inductiveautomation.com/t/regular-loss-of-tag-refreshes-when-the-source-is-a-database-query/84633/3 "2024-01-30T07:30:04Z")

</div>

Ok, I've created a support ticket
