IMD SolutionComputing LibraryShop main store

Explainer

WinCC runtime archives versus a central process historian

Edge computing and IIoT Published 6 min read

Short answer

Each WinCC server archives its own tags at runtime; SIMATIC Process Historian is a separate central tier that collects the long-term-relevant tags and messages from multiple WinCC servers into its own SQL Server database. Keep runtime archiving on, keep archives on each server, and point long-term and cross-server queries at the historian.

On this page
  1. What each tier stores
  2. Why runtime archiving stays switched on
  3. Two redundant servers and a historian: the answers
  4. How much data the central tier carries
  5. Releases, retention and backup boundaries
  6. Verifying the chain end to end
  7. Questions asked

WinCC Runtime Professional already archives tags, so the question is fair: what does a separate SIMATIC Process Historian server actually add? A second, central tier. Each WinCC server keeps writing its runtime archive locally, exactly as before; the historian collects the tags marked long-term relevant, together with process messages, from multiple lower-level WinCC systems into its own Microsoft SQL Server database and serves plant-wide long-term retrieval from there. It is not a backup of the server archives, and it does not replace them. The three questions that follow in every real deployment — who archives, where the files live, and which machine answers a trend — have definite answers.

What each tier stores #

The runtime archive belongs to one runtime system. It records the values and messages that system acquires, in the storage location and with the retention that system's archive configuration defines, and it is what a trend reads when the trend is displayed against that server.

SIMATIC Process Historian is the tier above that. Siemens documents it as a long-term archiving server for the WinCC environment: a central logging system for process values and alarms, built on Microsoft SQL Server, acquiring and archiving process and alarm data in real time from however many lower-level WinCC systems report to it. From Runtime start, the tags marked long-term relevant and the WinCC messages are saved on the Process Historian. That marking is a per-tag property in the engineering configuration of the installed release — it is the selection that decides what reaches the central tier.

Question Runtime archive on each server SIMATIC Process Historian
Scope One runtime system Every lower-level WinCC system reporting to it
Contents That system's values and messages Long-term-relevant tags and messages, collected centrally
Storage The runtime's configured archive storage on that server Its own SQL Server database on the historian machine
Serves Operational trends against that server Long-term, plant-wide retrieval and reporting
Managed by That server's retention settings Its own retention and backup plan

The division of roles is clean: the runtime archive answers what happened on this server, the historian answers what happened across the plant and for how long.

Why runtime archiving stays switched on #

Local archiving is what the server's own displays and short-term trends read, and it runs independently of the historian connection — a historian outage does not stop the servers archiving. The historian also does not administer the source archives: nothing on the historian side resizes, extends or prunes a server's runtime archive.

And it is not a backup. A backup is a restorable copy produced by a backup mechanism; the historian is a live collection system with its own database, and that database needs its own backup plan. Calling the historian "the archive backup", as it often gets called, hides both facts.

Architecturally it is one layer among several — the question of whether a data historian is an IIoT platform or one layer of it settles the same way here: the historian collects and serves history, and the supervision and control stack stays exactly where it was.

Two redundant servers and a historian: the answers #

Take the concrete layout: two WinCC servers in a redundancy pair, plus a third machine carrying Process Historian. Process Historian is server software on a Windows platform with Microsoft SQL Server as its database, so the third machine is standard industrial computing hardware — the same class of fanless mini PC used for edge and data-collection duty in a cabinet, or a rack box for a large plant — sized for the database it will accumulate.

  • Does each server keep its own archive? Yes, in addition to what the historian collects. Runtime archiving continues on both members, and the historian is connected to the redundant pair as one source, using the connection method your release documents for redundant WinCC systems. Do not register both members as two independent sources: the pair is one logical source, and treating it as two invites duplicated or wrongly attributed records.
  • Where are the archives stored? On the machines that own them. Each member's runtime archive stays in the archive storage configured on that member, on its local disks; the historian's database is on the historian machine. Copying or relocating runtime archive files to the third machine is not a supported substitute for collection — the historian gets data by collecting from running systems, not by hosting their files.
  • Which system does a station query? Whichever data source its display is configured for. Operational trends pointed at the runtime pair follow redundancy: after a switchover the client keeps reading the surviving member. Long-term and cross-server history is read from the historian, with the Information Server above it for reports spanning several SIMATIC SCADA systems. Starting collection does not repoint existing trends — each display's data source is set in that display's configuration.

How much data the central tier carries #

An illustrative sizing, with the arithmetic shown. Four WinCC servers each mark 2,000 tags as long-term relevant, and each tag stores one value per minute before any deadband or compression configured for it:

  • One server, one day: 2,000 tags × 1,440 minutes = 2,880,000 values per day.
  • Four servers: 2,880,000 values/day × 4 = 11,520,000 values per day into the central database.
  • One year: 11,520,000 values/day × 365 days = 4,204,800,000 values — about 4.2 billion timestamped values a year.

The count is linear in tags and in sampling rate. Halve the long-term-relevant tag count and the yearly total halves to 2.1 billion; sample every 10 seconds instead of every minute and it multiplies by six, to about 25 billion values a year (4,204,800,000 × 6 = 25,228,800,000). Any deadband or compression on the tags stores fewer rows than these raw counts.

That volume is the argument for the separate tier: the central database gets its own capacity planning, retention and backup, and each runtime archive stays sized for the operational window its own station reads. Serving years of that history quickly is a separate problem — what actually decides historian data retrieval speed is the storage tier and the query path, not the tag count alone.

Releases, retention and backup boundaries #

Three functions that often get merged: redundancy keeps the runtime service available when a member fails; retention decides how long records stay retrievable; backup provides a restorable copy after loss or corruption. A plant can implement all three and still configure each badly. The decisions above assign them — the pair provides redundancy, each archive its own retention, the historian's database its own backup.

WinCC 7.x, WinCC Runtime Professional in TIA Portal and WinCC OA are different products with different archive models, and Process Historian's documented integration is stated for named releases. Where the archive settings, the historian connection and the client data sources are configured differs between them; work from the documentation of the exact release installed, not from a procedure written for another member of the family.

Verifying the chain end to end #

Prove the division of roles with one known tag and one recorded test interval, then compare readings:

  • Write a known test value at a known time on the source system, so a pass is a fact rather than an impression.
  • Read the interval through the runtime archive interface of the server that acquires the tag. Expected: timestamped values matching the acquisition behavior configured for the tag.
  • Read the same interval through a supported historian interface. Expected: the same values and timestamps, with quality information that matches.
  • Confirm the collection diagnostics name the intended source — the redundant pair as one source, not two.

When both reads agree, each tier is doing the job it exists for.

Questions asked

Does Process Historian collect alarms and messages as well as values?

Yes. Siemens documents the Process Historian as storing process values and messages centrally, and once Runtime is started the long-term-relevant tags and the WinCC messages are saved on it. For reporting that spans several SIMATIC SCADA systems, the Information Server sits above the historian and can display historical values from different SIMATIC SCADAs, WinCC OA systems included.

What happens to the runtime archive's old data once the historian has collected it?

Nothing, automatically. The runtime archive is governed by the retention settings of its own server; the historian neither extends nor prunes it. Set the local archive to hold the operational window your operators actually read, and give the historian the multi-year retention with capacity planned for it.

After a redundancy switchover, do trends keep working?

Trends pointed at the runtime pair keep working, because redundancy exists so the surviving member continues the service and the client follows it. Trends pointed at the historian were never tied to either member, so a switchover does not affect them. After any real switchover, retrieve the interval around the event from both paths once, and you know.

Is the historian a backup of the WinCC archives?

No. The historian holds the collected subset on its own schedule, not a restorable image of the servers' archives. Its SQL Server database itself belongs in the plant backup plan, with a restore tested against known tags and timestamps before you depend on it.

Which WinCC releases does Process Historian support?

Per release, not per product family. WinCC 7.x, WinCC Runtime Professional in TIA Portal and WinCC OA are different products, and the documented integration with Process Historian is defined for named releases. Inventory the exact products and release numbers on every machine first, and treat a combination as unsupported until the compatibility documentation for those releases covers it.

Keep reading

  • Troubleshooting

    Trace a SQL log error after a historian migration

    Run a SQL Server Profiler trace against the Runtime database, capture the error event with its query text and user context, and match its timestamp to the log entry within 5 seconds. Live data collection and the SQL message are separate observations; the trace tells you which request failed and whether the migration is the suspect.

    Edge computing and IIoT

  • Troubleshooting

    Diagnose a slow historian web client page load on the server

    Capture the load in the browser Network tab with the cache disabled and split each slow request into connection, TLS, waiting and download phases. When waiting for server response holds most of the time, the historian web services are waiting on the shared SQL Server host: cap Max server memory, check disk latency, then send support a redacted HAR. The timing split, not the total load time, decides the cause.

    Edge computing and IIoT

  • Troubleshooting

    Diagnose slow historian trends by separating events from samples

    A Process History View trend that stalls on open and again on a wider span is usually waiting on event retrieval, not continuous-history samples. Uncheck Display Events and Track Events, retest the same interval: a large improvement points the investigation at the event server, its selection and DNS reverse zones, not at historian storage.

    Edge computing and IIoT