# History Sampling 1s but stuck at 10s

**URL:** <https://forum.inductiveautomation.com/t/history-sampling-1s-but-stuck-at-10s/101467>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 28, 2025, 4:24am UTC](https://forum.inductiveautomation.com/t/history-sampling-1s-but-stuck-at-10s/101467 "2025-01-28T04:24:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kieran.hanrahan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kieran.hanrahan/32/26580_2.png) [@kieran.hanrahan](https://forum.inductiveautomation.com/u/kieran.hanrahan)\
**Post date:** [January 28, 2025, 4:24am UTC](https://forum.inductiveautomation.com/t/history-sampling-1s-but-stuck-at-10s/101467/1 "2025-01-28T04:24:21Z")

</div>

Hi, I've set history sample rate to 1 second on tags, but the most frequent the history will store is 10 seconds.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8bca0e120f1aae3aafb195cff4e6c45c0d802b5f.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/0/f0bd02a3406f1976b01e62950581847bc1c6c1a9.png)

I'm using a Postgres database as the tag history provider and can't find any settings in the database, or store-and-forward config, which would cause this limit.

I've tried a few options such as using polled vs on-change vs tag group sampling and updated the Default and Default Historical tag groups to have 1 second min or max-sampling but still 10s samples.

Tried restarting the gateway service, not seeing any performance issues, or logs indicating bottlenecks. Hoping to have some insight into this issue.  
Cheers, Kieran.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 28, 2025, 7:03pm UTC](https://forum.inductiveautomation.com/t/history-sampling-1s-but-stuck-at-10s/101467/2 "2025-01-28T19:03:07Z")

</div>

![History tag group](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/a/3a140a251e93c9367e27800d1194924b81c14e76.png)

What's your tag group and what's its rate?

 ![Tag group properties](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/5/85b50f46c6bbb85dc4ce43669276e0e386038993.png)

The historian won't save changes if it doesn't know about them.

---

<div class="post-metadata">

**Author:** ![kieran.hanrahan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kieran.hanrahan/32/26580_2.png) [@kieran.hanrahan](https://forum.inductiveautomation.com/u/kieran.hanrahan)\
**Post date:** [January 29, 2025, 12:42am UTC](https://forum.inductiveautomation.com/t/history-sampling-1s-but-stuck-at-10s/101467/3 "2025-01-29T00:42:42Z")

</div>

Hi Transistor, thanks for your reply.  
The Tag Group for that tag is "Default" and has these settings:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/8/081a631a735b153b377b8f07f1683d7cd765bd8f.png)

The tag itself had "on-change" but I've changed it back to "Tag Group" - "Default Historical" with these settings:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/3/13524efdf500e446ab0f41b928969cc077ab40d2.png)

In typing this response I think I have found what is happening:  
A new record gets created each time the history config of a tag changes:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0c0d03a7e2a570e596b3e9f3fcb5a59de62ed4c1.png)

There are multiple batches of history for the same tag spread across multiple "tagid"s with different sample rates now. This one tagid = 969 is 1second:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/9/e9cd7ef26959caacdebc09d5420b509564d6da99.png)
