IMD SolutionComputing LibraryShop main store

Troubleshooting

Why Ignition Edge historian data fills the disk before pruning

Edge computing and IIoT Published 6 min read

Short answer

The edge processor must hold the entire 35-day pruning window locally, and the tag set fills 6 GB of user space in two to three weeks, roughly 0.3 to 0.4 GB per day. Cut recorded volume with wider deadbands and slower logging rates until 35 days of history fits; relocating the historian store to USB storage relies on undocumented internals, so reduce growth or move to a larger platform.

On this page
  1. Confirm what is filling the disk
  2. Sizing a 35-day window against 6 GB of user space
  3. Cut the recorded volume before touching storage
  4. Why USB relocation of the historian is not the fix
  5. The decision for each case
  6. Questions asked

The edge box is not misbehaving: Ignition Edge holds history exactly as configured, and storage simply runs out first. The gateway must keep the entire pruning window locally before anything is discarded, and on the GRV-EPIC-PR1 that means 35 days of history against 6 GB of user space. A tag set that has grown to several PLCs and dozens of instruments fills that in two to three weeks, so someone prunes by hand. The fix is to cut the recorded volume until the window fits, not to relocate the historian store to USB storage; that move depends on undocumented internals. This article gives the arithmetic, the deadband and logging-rate changes, and the decision for each case.

Confirm what is filling the disk #

The historian is the likely consumer, not the only one. The Edge store keeps history in internal database files under the gateway's own data directory, and gateway logs, store-and-forward queues and operating-system files grow in the same space. See where the Ignition Edge tag historian writes its data for the file locations to check before you touch a tag.

  • Log free space every day for at least a week and convert it to megabytes per day; estimate historian disk space from measured daily growth gives the projection method.
  • Confirm forwarding to the central gateway completes. Store-and-forward sends a copy upstream; it never shortens local retention, so a healthy sync will not slow the fill.
  • Separate the consumers: if a log file or a backup copy rivals the history files, fix that growth first or the changes below buy nothing.
  • Write down the two numbers the sizing needs: the configured pruning period and the interval between manual prunes on your unit.

Sizing a 35-day window against 6 GB of user space #

Inputs, with their sources:

  • Usable storage: 6 GB of user space, the figure the processor data sheet documents for the GRV-EPIC-PR1. Assumption: the historian filled essentially all of it, because the operator reclaims space by pruning history. The platform, projects and logs share the same partition, so real headroom is smaller and this result is the optimistic bound.
  • Pruning period: 35 days, as configured and reported on this gateway.
  • Observed fill interval: 14 to 21 days between manual prunes.

The rule in words: daily growth equals the space consumed divided by the fill interval, and the window fits only when daily growth multiplied by the pruning period stays within the storage budget.

The arithmetic: 6 GB ÷ 21 days = 0.286 GB per day, and 0.286 GB per day × 35 days = 10.0 GB of history. At the fast fill, the same budget over 14 days gives 0.43 GB per day, and 0.43 × 35 = 15.0 GB. The pass mark for growth after any fix is 6 ÷ 35 = 0.17 GB per day, which is 60 percent of today's slow rate and 40 percent of the fast one.

The window therefore needs 10.0 to 15.0 GB while the store has the single budget above, so recorded volume must fall by 40 percent at the slow rate and 60 percent at the fast one just to reach the pruning point with no margin. Treat 0.17 GB per day as a ceiling, not a target: every megabyte the platform and logs take comes out of history's share.

Cut the recorded volume before touching storage #

Nothing else in this fix is as durable as recording less. Sort the tag list into three classes: control-critical values that need full detail, quality or compliance values that need medium detail, and convenience values where the trend only has to show shape. The installation behind this case grew to several PLCs and dozens of sensors, instruments and controllers logged at various levels of detail; that long tail is what outran the disk.

Then, in the tag history settings:

  • Widen the deadband on convenience-class tags. Deadband Mode is Absolute by default in the vendor's tag history documentation; set to Percent, the deadband becomes a percentage of the tag's engineering-unit range, so that setting style scales across tags with different spans.
  • Replace fixed-interval logging with on-change plus deadband wherever the trend does not need every scan.
  • Leave the control-critical class alone; the savings live in the tail.

One asymmetry to expect: on the central gateway, retention is a setting of the historian connection — see setting historian pruning and retention for Ignition tag history — but the Edge store exposes no equivalent interval to stretch. The recorded volume is the only lever on the box itself, which is why the sizing above has to close the gap.

Re-measure for a week after the changes and project the measured rate across the full window before declaring victory.

Why USB relocation of the historian is not the fix #

The idea circulating for this platform: the store is believed to be SQLite under the hood, so mount a USB drive, copy the database across, and point the original path at the new location with a symbolic link. Every step is undocumented. The manufacturer documents neither a supported relocation path for the historian store nor symbolic-link behavior, and the USB directories the device's groov Manage interface exposes are documented for file access, not as a historian destination.

The risks, by contrast, are documented. A reported case on gateway version 7.9.12 had the SQLite-backed historian stop on a database lock that only a gateway restart cleared, and integrators who have run SQLite-backed history advise against it because SQLite serializes writes. Operationally the symbolic link adds failure modes a plant cannot babysit: if the drive mounts after the gateway starts, the link dangles and history writes fail; a firmware update that touches the data directory can break it; a knocked-loose drive costs every record since the last sync.

If you still want to evaluate it, treat it as a bench experiment: confirm the store location and relocation support with the manufacturer's documentation or support channel first, then cold-boot the test unit with and without the drive mounted and verify new writes, forwarding and pruning before the technique goes near a line that matters.

The decision for each case #

  • Measured growth lands at or below 0.17 GB per day after the deadband and rate changes: done. Keep the daily free-space log for a month, then check it quarterly.
  • The tag mix cannot give up 40 to 60 percent: change the platform, not the pruning. The PR2-class processor documents 22 GB of user space against the PR1's budget, which at 0.29 to 0.43 GB per day holds 51 to 77 days, past the pruning boundary with margin. Confirm against the current data sheet for the exact processor before you specify it.
  • More PLCs and instruments are still coming: stop shrinking the edge box's job and give the local historian a host whose storage you can size, such as a fanless industrial mini PC running the same deadband discipline.
  • The urge to link the store onto a USB drive: drop it. Undocumented at every step, fragile at boot, and the SQLite history path already has one documented lock failure behind it.

Questions asked

Can the Ignition Edge historian store its data on a USB drive?

No documented option exists. The Edge historian writes into internal database files inside the gateway's data directory, and the USB directories exposed through groov Manage are documented for file access, not as a historian destination. The copy-and-symbolic-link method relies on undocumented internals, breaks if the drive mounts after the gateway starts, and should stay off plant hardware until the manufacturer confirms relocation support.

How much history do I have to cut before the 35-day window fits?

When the disk currently fills in two to three weeks, plan on a 40 to 60 percent reduction in recorded volume: widen deadbands on convenience tags and drop logging rates on values that only need shape, then re-measure for a week. The pass mark is growth at or below about 0.17 GB per day. Treat that figure as a ceiling, not a target, because the platform and logs share the same space.

Does forwarding history to the central gateway free local space?

No. Store-and-forward sends a copy upstream while the local store keeps its records until the pruning boundary clears them, so a healthy sync never shortens retention. Local space comes back only through less recorded volume, a shorter window where the configuration exposes one, or more storage. If you prune by hand, verify the forwarded history first: compare tag counts and timestamps on the central side before deleting anything local.

Is upgrading to a PR2 enough on its own?

On the rates measured here, yes: the PR2-class processor documents 22 GB of user space, which holds 51 to 77 days of history at 0.29 to 0.43 GB per day, past the pruning boundary with margin. Measure your own growth first, though: if your rate sits above that range, size the hardware from your measured megabytes per day instead of from this example.

Keep reading

  • Explainer

    Where the Ignition Edge tag historian writes its data

    Ignition Edge has no configurable path for its local tag historian: the store and its store-and-forward buffer both write to the volume Ignition is installed on. For a 7-day history on fewer than 100 tags, add 3 to 5 GB of headroom to the main partition; an external SQL database connection is the only supported way to choose the volume.

    Edge computing and IIoT

  • How-to

    Setting historian pruning and retention for Ignition tag history

    Prune tag history on the history provider, not with the transaction group's delete setting: in the Gateway's tag history configuration, enable data pruning and set a retention period in days. At 250 MB per day of growth, 30 days of retention holds about 7.5 GB and a full year about 91 GB. Deadband and Max Time Between Samples decide most of the daily rate, and QC records from transaction groups keep growing on a separate budget.

    Edge computing and IIoT

  • Troubleshooting

    Cut Ignition Tag Historian growth before compressing the table

    A 75 GB Tag Historian table after 2.5 months is a sampling problem, not a compression problem. Raise analog deadbands above instrument noise, set a minimum time between samples, then shorten partitions to about a week and enable pruning. Compressing the existing table changes none of the growth rate.

    Edge computing and IIoT

Historian or SQL database for discrete part-driven data