Explainer
Does SCADA need a historian between it and an OPC UA server?
Short answer
No. SCADA connects to an OPC UA server as a client for live values, and nothing must sit between them unless you put a historian there on purpose. A changing value with a blank historical trend is a storage-path fault: the trend is asking a different component for recorded samples than the one feeding the live value.
On this page
- Does anything need to sit between SCADA and the OPC UA server?
- Why does the live value work but the historical trend is blank?
- What does the OPC UA standard say about historical access?
- Which architecture should you pick for live values and history?
- How do you find where a blank trend is really failing?
- How much storage does an explicit historian actually add?
- When is adding a historian the right decision?
- Questions asked
No, SCADA does not need a historian between it and an OPC UA server. The SCADA host connects to the OPC UA server as a client, subscribes to the tags it wants, and receives live values directly; a historian sits in that path only when the architecture deliberately adds one to record samples. That distinction settles a common plant-floor confusion: when the numeric display updates but the historical trend comes back blank, nothing is missing from the connection — the trend is asking a different component for stored samples than the one feeding the live value. This page names the standard that defines the split, compares the four architectures you can build, works the storage arithmetic for an explicit historian, and ends with the decision for each case.
Does anything need to sit between SCADA and the OPC UA server? #
No, SCADA connects to the OPC UA server as a client and nothing has to sit between them; a historian belongs in that path only when someone deliberately adds one to record samples, which is an architectural choice rather than an OPC UA requirement.
OPC UA is a client-server protocol. The server owns the data and offers it at an endpoint; the client connects to that endpoint and subscribes. On a plant floor the server role is played either by the controller itself or by a separate server program that reads the controllers through its own drivers, and the SCADA platform is the client in both cases. A historian is not a relay the protocol inserts. It is another consumer of the data: either it subscribes and stores what arrives, or it serves samples it has already collected. If live values are reaching the screen, the client-server chain is complete, and no missing middle component can explain a blank historical trend.
Why does the live value work but the historical trend is blank? #
Because the two numbers travel different paths: a live value is a subscription update pulled straight from the OPC UA server, while a historical trend is a query sent to a separate storage component, so a blank trend with a changing value is a storage-path fault, not a connection fault.
One screen can make three different requests for the same tag. The numeric display asks for the current value and rides the subscription. A trend that fills while the screen stays open is usually built from values buffered in the client's memory from the moment the display opened. A historical trend you scroll back through queries a store — a historian, a tag-history database, or the server's own history feature. The same split appears on PI systems, and our article on why PI shows live values but no trend history walks that exact symptom. The practical consequence is that a working live value proves the connection and says nothing about whether anything is being recorded, so adding a historian cannot fix a wrong trend binding or a store that was never set up to log that tag.
What does the OPC UA standard say about historical access? #
OPC UA Part 11 defines historical access as an optional capability: a server may record and serve its own history, and the specification also allows a standalone historian to be implemented as its own OPC UA server that collects data from another OPC UA server or from another data source.
Three points in that part decide the architecture. First, historical access is optional, so a server that exposes only current data is fully conformant; never assume a server keeps history just because it speaks OPC UA — confirm it against the documented feature list for your exact server model and firmware version. Second, the historian can act as a client of the live server: Part 11 describes a standalone historian that collects from another OPC UA server or from another data source, which is exactly the parallel-collector pattern used below. Third, nothing in the standard places a historian between client and server for live data; that role does not exist in the protocol. For the recorder's role in the wider system, our article on what a historian does in an OPC and PLC system covers the storage, retrieval and serving sides in depth.
Which architecture should you pick for live values and history? #
Pick the direct connection — SCADA client straight to the OPC UA server, with a historian added as a second, parallel collector only when you need recorded samples — because it is the fewest moving parts, and every extra hop in the live path adds a component that can fail alone.
| Architecture | Live path | History | Choose it when |
|---|---|---|---|
| SCADA straight to the OPC UA server | SCADA subscribes to the server directly | None, unless the SCADA platform logs tags itself | Live monitoring is the goal and built-in logging covers retention |
| Gateway server in front of the controllers | SCADA subscribes to a gateway server that drives the controllers | None by default | Protocol conversion, aggregation or a driver layer is needed |
| Historian collecting in parallel | SCADA subscribes to the server directly | Historian subscribes to the same server separately | Samples must be recorded, and the live path must survive a recorder outage |
| Historian in series, serving SCADA | SCADA reads through an interface the historian exposes | Historian | Only when that product documents a live interface you intend to depend on |
The first two rows need no historian at all. The parallel row is the default when history is genuinely required: the recorder can drop out without ever blanking the operator's screen, because the live subscription never touches it. The serial row couples the two paths — a historian that also serves live values becomes a single point of failure for both. Where a separate program plays the server role, its position in the path is a deliberate design choice made for driver coverage, aggregation or security zoning, not something OPC UA demands. If the recorder must also feed other consumers, it can publish its own endpoint; our article on exposing historian latest values over OPC UA or MQTT shows that pattern.
How do you find where a blank trend is really failing? #
Check the live path first and the storage path second: confirm the tag's value and quality update in the SCADA tag monitor, then ask which component the trend is actually querying, because the trend and the numeric display can be bound to different data sources on the same screen.
- Watch the tag in the SCADA tag monitor, not on the display: a value and good quality that track a known process change confirm the live path end to end.
- Read the trend's configured data source: which historian, tag-history provider or server history feature it queries, and for what time range.
- Confirm a recorder exists and is running: if nothing is configured to log that tag, a blank history is the correct result — there are no stored samples to query.
- Confirm the store receives the tag: check that the tag is in the recorder's logging set and that a deliberate process change produces a stored sample.
- Check compression and deadband on the recorder: a store can hold the tag while discarding unchanged values, and the knowledge-base page on disabling historian compression for live trend values shows what that case looks like.
- Check the timestamp on the last update: a plausible number with a frozen timestamp means acquisition stopped, which is a live-path stall and not a history fault.
Repair the two paths separately. Adding a historian answers step 3 only; it does nothing for a wrong binding, an empty logging set or a stalled connection.
How much storage does an explicit historian actually add? #
For one tag updating once per second stored as an 8-byte value plus an 8-byte timestamp, the raw load is 86,400 samples a day, about 1.4 MB a day for that tag, and 100 such tags fill roughly 138 MB a day before any compression.
Worked example, with illustrative sample sizes — this is arithmetic, not a product specification. Assume one tag that changes once per second, stored as an 8-byte value plus an 8-byte timestamp, 16 bytes per sample, with no compression:
- 1 sample/s × 86,400 s/day = 86,400 samples/day for one tag
- 86,400 samples/day × 16 bytes/sample = 1,382,400 bytes/day, about 1.38 MB/day (decimal MB)
- 100 such tags: 1.38 MB/day × 100 = 138 MB/day
- 365-day retention: 138 MB/day × 365 days = 50,457.6 MB, about 50 GB
What moves that number. A tag changing ten times a second stores ten times as much, so faster tags scale linearly. Logging on change instead of a fixed scan replaces the fixed count with the number of real transitions, which is usually far lower. Compression is the biggest lever: historians typically apply deadband or sweeping compression, so flat signals collapse to a small fraction of the raw figure — but size the disk from the uncompressed figure and treat compression as margin. Measure, then multiply: take a week of update counts for the tags you intend to record from your server, and the resulting rate, not OPC UA itself, decides the storage. One safety note: if these recorded values feed a quality or compliance record rather than a trend, the recorder and its retention are part of that record's requirements.
When is adding a historian the right decision? #
Add a dedicated historian when you need samples kept independently of the SCADA platform — for long retention, cross-platform reporting, or feeding other clients — and treat it as its own server component with its own connection, storage and failure modes, not as a box that silently fixes trends.
- Live values only, no history beyond the current shift: direct connection, no historian.
- History needed, and the SCADA platform's built-in tag logging covers your retention and reporting: enable that logging, no extra server.
- History needed beyond what SCADA logs, or the live path must survive a recorder outage: add a historian collecting in parallel from the same OPC UA server.
- Your server's documentation lists historical access for its model and firmware: the server can keep its own history and no separate recorder is needed — confirm the capability is present and enabled before relying on it.
If the real question is whether you need recorded samples at all rather than a live feed, our article do you need a historian or just an OPC tag server answers that separately. And once a dedicated recorder is justified, its placement follows the same client-server logic; our article on where to install a historian alongside Citect SCADA works one common pairing end to end.
Questions asked
Can an OPC UA server store its own history without a separate historian?
Yes, when that server implements the OPC UA historical access capability and it is enabled. The capability is optional and comes per product: many controller-embedded servers provide live data only, so confirm historical access in the vendor's documented feature list for your exact server model and firmware version before relying on it. A client must also read history explicitly; live subscriptions never produce an archive.
Does putting a historian in the live path change the update rate?
No, the SCADA client's subscription settings, such as its publishing interval, decide how often live values arrive, not the presence of a historian. The risk of a serial historian is availability, not speed: it is one more service that must be running, which is why the parallel pattern keeps the recorder off the live path entirely.
What happens to a live trend's buffered data when the screen closes?
It is usually gone. A trend built from client-side memory starts empty and grows to the right as samples arrive, so it shows nothing from before the display opened, and closing the display discards the accumulated trace. Durable storage needs a historian or a tag-history feature recording the same tags during the same period, which is why a screen that was closed all morning cannot show that morning afterwards.
Does the storage arithmetic change if tags update faster than once per second?
It scales linearly, and the formula stays the same: multiply the update rate in samples per second by 86,400 seconds to get the samples a day, then multiply by the bytes you store per sample. Swap in your own sample size and retention window the same way; a faster scan rate or a wider timestamp format raises the total exactly in proportion.