We are experimeting with backfill options for a tier-2 Historian. We are unable to find documentation that supports our experiments, so I hope we can get some answers through this forum.
We are attempting to backfill 2 full days worth of history data. Each day weighs in at about 500MB, and each day contains about 2.200 tags. (We have suggested implementing value deadbands on floating point values to decrease the size of the data, but this does not have any effect on historical data.)
When we start the backfill, the replicaton seems to go into store&forward due to "Buffer_Half_Full", followed by critically low buffer and buffer discarded.
Each time we test, we remove the replication, shutdown tier-2, delete data from tier-2, rebuild runtime database on tier-2 and start fresh, and we have tried to adjust some different parameters for each run:
- What is HCAL buffer memory, and how can we increase it?
- How can we reduce the data rate?
- Should adjusting the "Buffer count" in replication settings help? We have 128, 300, 500, 2048 and it does not seem to make any difference.
- Should adjusting the "Time increment" in backfill help? We have tried both 24 and 6 hours. 6 hours seems to produce more buffer discards than 24 hour.
Maybe limiting the bandwidth in replication settings could help? At this point I feel like I'm just testing random parameters, like back in the day when we adjusted modbus parameters until it finally worked (or was that yesterday?)