Inspection Record Retention and Retrieval

A traceability claim is only worth what the record behind it is worth. Asked to prove that a particular part was inspected and passed, a site either produces the evidence quickly or discovers that the images were overwritten, the values were summarised, and the link between the part and the record was never actually established. Retention is usually decided by storage capacity, which is the one criterion that has nothing to do with the question the record will eventually have to answer. Deciding it from that question instead produces a much smaller and much more useful archive.

Diagram of the three retention tiers: verdict, values and images

Key takeaways

  • Separate the three tiers: verdict, values and images. They have different retention and different costs.
  • Set the retention period from the question a record will have to answer, not from disk capacity.
  • Retrieval is part of the requirement; an archive that cannot be searched quickly has not been kept.
  • Time synchronisation between the station and the plant systems is what makes a record findable.
Isometric diagram of an industrial camera and an edge computing box connected by a single cable
The station-level hardware: one industrial camera plus one edge computing box

Retention is normally decided by storage capacity: keep images until the disk fills, then reduce the period, then compress. That is the one criterion with no relationship to what the record will be needed for. The question that actually determines retention is the one somebody will ask months later — did this part pass, and on what evidence — and the answer determines not only how long to keep things but which things, in what form, and how they will be found. Answered that way, the archive is usually smaller than the one that grows by default, and considerably more useful.

Three tiers, three requirements

The tiers of evidence a vision station produces
TierWhat it holdsTypical retentionRelative cost
VerdictPass or fail, timestamp, part or batch reference, station and recipe versionLongest — the retention period the standard or the customer requiresVery low; a row per part
ValuesThe measurements behind the verdict, in physical units, with the characteristic they belong toMedium — long enough to trend and to investigate a trendModerate; a few numbers per part
ImagesThe frames themselves, and any annotated or overlaid versionShortest — days to weeks routinely, longer for flagged partsHighest by a wide margin; images dominate the storage entirely

The tiers have different clocks and, importantly, images are the tier that dominates both the cost and the temptation. The workable arrangement for most stations is that every part produces a verdict and a set of values, while images are kept routinely for a short window and are retained selectively and indefinitely for parts that were flagged, that were disputed, or that belong to a batch later placed under investigation. This keeps the mandatory record complete while keeping storage proportional to the number of occasions that actually matter. What ties the tiers together is the reference: a value with no part reference, or an image with no verdict alongside it, is not evidence of anything.

Retrieval is part of the requirement

An archive that cannot be searched quickly has not really been kept. Investigations have deadlines — a customer complaint, an audit, a containment decision that has to be made today — and a folder of files named by timestamp is unusable under that pressure. The retrieval question has to be answered at design time, and it is usually the same question in every case: given a part serial number, a batch number or a time window, produce the records. That means the station must be able to state the reference it was inspecting, which in turn means the reference has to arrive with the part, either from the line control system or from a code read at the station.

The other prerequisite is time. A record is findable by timestamp only if the clocks agree, and stations, line controllers and plant systems drift apart by seconds or minutes when they are not synchronised. When an investigation asks what happened between two o'clock and three, unsynchronised clocks turn a simple query into an argument. Synchronising every station to a common time source is a small piece of work that makes every later investigation materially easier, and it is worth treating as part of the station rather than as an infrastructure concern for somebody else. The granularity question — whether the record attaches to an order, a batch or an individual part — is a decision in its own right and is covered in traceability granularity.

Deciding the period

  • Start from the obligation. Customer contracts, industry standards and internal quality policy may each state a minimum, and the longest of them sets the floor. Establish what those say before choosing anything.
  • Then add the investigation horizon. How long after shipment could a defect plausibly be traced back to this station? A product with a multi-year warranty needs a longer horizon than one consumed within weeks.
  • Then check the reference survives. There is no point keeping a record for five years if the part serial numbers are only legible in the plant system for two. Retention is limited by the shortest-lived link in the chain, not the longest.
  • Then verify retrieval, not just storage. Take a part from a batch six months old and try to produce its record within the time an investigation would allow. The first attempt usually reveals that something essential was never captured.

Common questions about retention

Can images be compressed to save space?

Compression is legitimate for the routine window where images exist only to spot-check that the station was working. It is not appropriate for an image that will serve as evidence, because lossy compression alters the very pixel values an investigation may want to look at. Keep evidence images uncompressed and compress the routine ones, and make the distinction explicit rather than letting it follow from a default setting.

Where should the records live?

With the rest of the plant quality record, under the same access control and the same backup regime. A separate archive on the station itself is convenient until the station is replaced or its disk fails, at which point the traceability claim goes with it. The station should publish records outwards rather than hold them.

What has to be recorded about the station itself?

At least the recipe version, and the calibration state at the time. Both are needed to interpret the numbers and both are easy to omit. A verdict produced by an unknown recipe version or after an unrecorded recalibration cannot be compared with anything, which is precisely the comparison an investigation is trying to make.


Could you produce the record for a part from six months ago?

Tell us what you are required to prove and to whom, and we will design the record, the retention tiers and the retrieval path around that obligation.

Contact us

Related articles

View all

Need specific advice for your production line?

Our engineers can share practical approaches to process error prevention and SOP compliance inspection for your scenario.

Request a free trial plan