Troubleshooting
Why Tier 2 historian replication holds the final value
Short answer
A final value that reaches Tier 2 only after a fixed delay, while replication keeps running on schedule, is held by a calculation release boundary rather than the transfer. Confirm where the sample stops — tier 1 storage, the transfer, or the tier 2 query — then compare the measured delay with the configured SummaryCalculationTimeout and change only that parameter.
On this page
The final value is not missing because replication is slow. It is waiting for a summary calculation to release it. When tier 1 to tier 2 replication runs on a healthy schedule, everything eligible transfers at the next run, so a sample that appears only after a fixed 15 minutes is governed by a release boundary — and on AVEVA Historian that boundary is the SummaryCalculationTimeout system parameter. Before touching any timing setting, establish where the sample stops: tier 1 storage, the transfer itself, or only the operator screen. The checks below separate the cases, a worked example shows the arithmetic that rules the schedule out, and each outcome ends in the correction that fits it.
What the replication schedule actually promises #
A replication schedule sets when the historian looks for data to move. It does not make a value ready to move. AVEVA Historian documents replication as a chain — data originating at tier 1 replicates to tier 2, and from there to tier 3 — with process data among the content it carries. At each scheduled run the historian transfers what is eligible at that moment. A result still pending inside a summary calculation is not eligible, so it skips run after run and appears in one step once released. The schedule can be perfectly healthy the whole time.
This also separates the fault from throughput trouble. A link that moves bulk history too slowly shows irregular, volume-dependent gaps — the problem in why historian backfill runs slow from Tier 1 to Tier 2. One final value that lands late by the same interval every time is a release-boundary signature, not a capacity problem.
Find where the final sample stops #
Query history, not current-value displays, because a client screen refreshes on its own clock. Pick one affected tag and walk the stops in order; the first one that fails is the one to fix.
- Missing in tier 1 history. Query tier 1 for the tag around the time of the last change. If the sample is absent there, the fault is acquisition or storage — trace the driver or the interface before replication at all.
- Present in tier 1, absent in tier 2 past the next run, with an irregular gap. The transfer is the fault: check the replication definition, the connection status, and the transfer diagnostics for backlog or retries.
- Present in tier 2 history, absent on the screen. Storage is fine; the client's refresh, time range, or tag binding is wrong. The split between a value a screen shows and history a query stores is the same one behind why PI shows live values but no trend history.
- Present in both, but only after a fixed, repeatable delay. That is a release boundary, and it points at the calculation timeout covered next.
Why the release lands exactly on the timeout #
Summary calculations such as interval averages and totals wait for their inputs to settle before they finish, and pending calculation work needs a time boundary that forces completion. The AVEVA Historian parameter documentation puts the tradeoff plainly: "Setting this parameter too high will delay associated summary calculations unnecessarily," while a value set too low causes its own documented failure.
Connect that to the symptom. A value tied to pending calculation work stays ineligible at every scheduled run; when the timeout expires the result is released, and the next run carries it across. The observed delay therefore equals the timeout plus at most one schedule interval, and it repeats exactly because the boundary is fixed. A transfer backlog jitters; a timeout does not. That constancy also explains the shape of the symptom: earlier samples arrive on schedule because they are eligible, and only the final one, tied to calculation work still pending, waits out the boundary.
Shortening the boundary moves the arrival earlier one-for-one until the next scheduled run becomes the floor. Shortening the schedule does not move it at all, because an ineligible value has nothing to do with how often the historian looks.
Worked example: a 15-minute delay on a 1-minute replication schedule #
Inputs:
- Replication schedule: 1 minute, configured on the test system (the reported setup).
- Measured delay from the last manual change to the value's appearance in tier 2 storage: 15 minutes, repeatable across tests (the reported symptom).
- Configured SummaryCalculationTimeout value with its documented units, read from the system parameter table before the test — recorded, never assumed.
Rule in words: under the schedule alone, a value appears by the first run after its change; behind a calculation release, it appears at the first run after the timeout expires.
Arithmetic: the first eligible run under the schedule alone lands within 1 minute of the change. The measured arrival is 15 minutes after the change, so the value sits ineligible for 15 − 1 = 14 minutes beyond the schedule's window — roughly 14 consecutive runs skipped it.
Result: the schedule is not the constraint. A fixed release boundary governs availability, and firing the schedule faster would not move the arrival.
Decision: when the recorded timeout, converted to the units the parameter table documents, matches the measured delay, it is the boundary. Set it to the required data latency — for a schedule that should deliver the final value on the next run, that means matching the schedule interval — then re-run the identical manual sequence and confirm the arrival moves with it.
Retest after changing the timeout #
Change one parameter and prove it, on the staging system first: the parameter is system-wide and times every summary calculation on that historian, not only the test tag.
- Record the configured value and its documented units before changing anything.
- Change only SummaryCalculationTimeout, through the product's supported configuration procedure, and restart the historian service only if the documentation requires it for the change to take effect.
- Replay the identical manual sequence, then leave the tag quiet so the final value cannot hide behind later changes.
- Query tier 2 history directly rather than the operator screen, and record the clock time at which the value first appears.
- Check the summaries these tags feed: intervals still complete, totals not short. A faster release that leaves partial results is a failed correction — step the value back up until the summaries are right again.
For how replication and summary settings sit together on the tier 2 side, the guide on configuring AVEVA Historian Tier 2 replication and summaries covers the same territory.
The decision for each outcome #
- Sample absent from tier 1 history: fix acquisition or storage first. No timing setting will help.
- Sample in tier 1 but reaching tier 2 with an irregular gap: treat it as a transfer fault — replication definition, connection, diagnostics — not a timing one.
- Sample in tier 2 history but absent on screen: fix the client — refresh, time range, or tag binding.
- Sample reappearing after a fixed delay equal to the recorded SummaryCalculationTimeout: shorten that timeout to the latency the application needs, here matching the schedule interval, retest on staging, and keep the replication schedule exactly as configured.
Questions asked
Will running the replication schedule faster pull the final value across sooner?
No. The schedule only decides when the historian looks for eligible data. A sample held pending behind a summary calculation is ineligible at every run, so a shorter interval only produces more runs that skip it. Fix the release boundary instead, and leave the schedule at its configured interval.
Does the symptom prove the timeout defaults to that value?
Do not assume the symptom proves a default. The configured value and its documented units come from the system parameter table of the installed historian. The test is a comparison: record that value, convert it where the table documents another unit, and match it against the measured delay. If they match, the parameter is the boundary; if not, work through transfer diagnostics first.
Why does the late value still carry its original timestamp?
Arrival time and timestamp answer different questions. The sample keeps the timestamp of the moment it was created; the timeout only delays when it becomes available in the other tier's storage. Judge correctness by querying on the timestamp, and judge latency by the clock time at which the value first appears in tier 2 history.
What does it mean when the delay drifts instead of landing on a fixed value?
A drifting delay points away from a release boundary. Timeouts produce a constant; transfer backlog, connection retries, and acquisition latency produce a variable one. Watch the replication diagnostics across several cycles and compare the gap between each scheduled run and the arrival of the oldest pending data, expecting a transfer-side cause.
Other historians use different names — what should I look for?
SummaryCalculationTimeout is the AVEVA Historian system parameter for this behavior. Other products expose the same idea under names like a summary or aggregation timeout, a pending-calculation limit, or a late-data window in the server settings. The test stays the same: measure the delay, compare it with the configured boundary, change one value, and retest.