History Sampling 1s but stuck at 10s

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

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.

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

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

1 Like

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

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

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:

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:

1 Like