How-to
Estimate historian disk space from measured daily growth
Short answer
No datasheet gives a historian's bytes per record. Count the records your logging settings schedule, measure the historian data folder for about a month of real production, and project the net growth linearly to the retention target. In the worked example, 2.3 GB over 31 days is 74 MB per day, or 27 GB per year, sizing a 64 GB data volume with a 35 percent margin.
On this page
- How much disk space does a historian use per day?
- How many records do two tags write per day at one-minute logging?
- How many megabytes does one historian record take?
- How do you measure the historian's real disk growth?
- How do you project one month of growth to a year of retention?
- How much free space should a one-year historian disk keep?
- Why does the historian grow slower than the logging schedule says?
- Questions asked
No datasheet or vendor table gives you the megabytes per day a historian will write on your plant: deadband, tag variability and the database engine's overhead all move it. The number you can defend comes from two steps. First, count what your logging settings schedule: two tags storing once a minute write 2,880 records per day. Second, measure the historian's own data folder across about a month of real production and project the net growth linearly to your retention target. In the worked example below, 2.3 GB of measured growth over 31 days projects to 27 GB per year and sizes a 64 GB data volume with a 35 percent margin. The record count tells you whether the workload matters at all; the measurement tells you the bytes.
How much disk space does a historian use per day? #
The only number you can defend is the one you build yourself: a record count from the logging settings multiplied by a bytes-per-record figure you measure in the historian's own data folder over about a month of real production.
The record count is deterministic. Read the logging interval, the tag list and the logging mode, and the scheduled records per day follow from arithmetic. The bytes side is not: the storage engine decides how much overhead rides with each record and how aggressively it preallocates files, and none of that appears in a datasheet. Any per-tag or per-point constant quoted in a forum thread or a vendor guide is a sanity check against your measurement, never the sizing basis itself.
The count also decides how much the question matters. Two tags at one-minute logging are a rounding error on any modern disk. The same method scales unchanged to a few thousand tags, where the projection becomes a genuine disk-planning input.
How many records do two tags write per day at one-minute logging? #
Two tags on a one-minute schedule write 120 records per hour, 2,880 records per day and 1,051,200 records per 365-day year, and that count holds only while logging is periodic and nothing suppresses samples.
The arithmetic:
- Records per hour = 2 tags × 60 minutes = 120 records
- Records per day = 120 × 24 = 2,880 records
- Records per year = 2,880 × 365 = 1,051,200 records
Per tag alone that is 1,440 records per day and 525,600 per year. Keep the acquisition side out of the arithmetic: a one-minute poll gives the historian chances to observe values, but the logging task, not the poll, decides what becomes a stored record.
Verify the schedule against reality before trusting the count. Export or view an uninterrupted hour of history for one tag and count the timestamps: 60 confirms periodic logging, anything fewer means a deadband or an acquisition gap is suppressing samples, which changes the real workload.
How many megabytes does one historian record take? #
There is no single megabytes-per-record constant: each stored value carries timestamp and quality data plus index and file-allocation overhead, and deadband decides how many scheduled records exist at all, so any per-record constant is an order-of-magnitude estimate.
The deadband settings make the record count itself variable. In Ignition tag history, for example, Deadband Mode is Absolute by default, and Percent mode computes the deadband from the tag's engineering-unit range; a separate time deadband sets the minimum milliseconds between stored values for a tag, and changes inside it are not stored. Other historians expose the same idea as a percentage the value must change before a save. A quiet analog tag can store a small fraction of its scheduled records; a noisy one stores nearly all of them.
As an illustration only, not a documented figure, take a round 100 bytes for a stored record with all its overhead: 2,880 records/day × 100 bytes = 288 kB per day, and 288 kB × 365 ≈ 105 MB per year for both tags. At two tags the overhead dominates so completely that record arithmetic barely matters; at thousands of tags the same bytes-per-record question becomes the disk budget.
Vendor estimation aids exist and are worth a cross-check: AVEVA Plant SCADA's documentation ships equations for calculating the disk space needed to store a trend over a period, and the Geo SCADA knowledge base publishes disk-usage guides per billion raw historic records excluding file-system overhead. Both still need your record rate and their engine's per-record size. For InfluxDB-backed stacks the per-point cost is computable in advance, and the article on what one Telegraf point really costs on InfluxDB disk shows that arithmetic; SQL-engine historians keep no such constant, which is why the measurement below is the general method.
How do you measure the historian's real disk growth? #
Measure the historian's data folder alone, record allocated size and logical file size separately, and repeat the measurement weekly for about a month so the result covers allocation jumps and the plant's normal production cycle.
- Fix the boundary. Use the folder the historian configuration names as its storage location. Exclude exports, reports and backups; keep them on another path for the whole window.
- Record the day-zero measurement. Note the date and time, the allocated size as the volume reports it, and the logical size as the sum of the database files' own sizes.
- Run representative production. The month should include the plant's normal cycle: quiet stretches, noisy tags, and a maintenance or restart if those are routine. Log configuration changes and outages with dates beside the size numbers.
- Re-measure weekly, the same way. Same folder, same method, same time of week.
- Compare successive weekly intervals. Database engines allocate files in fixed chunks, so one interval can catch a jump the next absorbs; several intervals average that out.
- Note what retention did. If pruning deleted during the window, the measurement is the net of writes minus deletes, which is exactly the number steady-state sizing needs.
- Compute net growth. Ending allocated size minus starting allocated size, over the elapsed days.
Allocated size is the number that matters for sizing, because preallocated or chunk-growing database files consume real disk even when they are logically near-empty. Logical size helps explain the engine's behavior but understates what the volume loses. Carry the allocated figure into the projection.
How do you project one month of growth to a year of retention? #
Divide net growth by elapsed days and multiply by 365: 2.3 GB measured over 31 days is about 74 MB per day, which projects to 27 GB per year under unchanged logging, tag count and production conditions.
Worked example, with the arithmetic shown:
- Start: 3 March, allocated size of the data folder = 10.2 GB
- End: 3 April, 31 days later, allocated size = 12.5 GB
- Net growth = 12.5 GB − 10.2 GB = 2.3 GB
- Daily rate = 2.3 GB ÷ 31 days ≈ 74 MB per day
- Year projection = 74 MB/day × 365 days ≈ 27 GB per year
The projection is linear and assumes the month was representative. An outage in the window understates the rate, because store-and-forward backfill lands after the restart. Adding logged tags scales the rate roughly with the added record count. Re-measure after any change to logging, tag count or production pattern instead of extrapolating an old rate forward.
How much free space should a one-year historian disk keep? #
Size the data volume at the current allocated size plus the 365-day projection, multiplied by 1.35, and alarm at 15 percent free, because a data volume that hits 100 percent stops historian writes and can stall a SCADA host sharing that volume.
For the example above: 12.5 GB current + 27 GB projected = 39.5 GB at year end; 39.5 GB × 1.35 ≈ 53.3 GB; the next standard size up is a 64 GB volume for the data folder, with the low-disk alarm at 15 percent of 64 GB, about 9.6 GB free. At year end the projection still leaves roughly 24.5 GB free, so the margin holds.
The 1.35 factor covers allocation jumps, the extra growth an unusually busy campaign adds, and the space a recovery or reindex can consume. For the two-tag, one-minute scenario used here, the illustrative 105 MB per year means any partition with room to spare holds a decade of history; the real constraints in that case are retention policy and backup space, not capacity. From a few hundred tags upward, this projection is the input that decides the drive.
When the historian lives on its own box instead of a partition of the SCADA host, size that drive from this projection and host the service on a fanless industrial mini PC rather than repurposing an office desktop.
Why does the historian grow slower than the logging schedule says? #
Slower growth means deadband is suppressing samples or retention is deleting while you measure, and an uninterrupted hour of history separates the two: one-minute logging should show 60 timestamps per tag, and fewer points to the deadband while a flat ceiling points to retention.
Run that hour check per tag before believing any growth number. If timestamps are missing, the deadband settings described above are active, and the true record rate is whatever process variability allows; measure it rather than modeling it.
If growth rises and then flattens, retention has reached its horizon: old records are being deleted at the same rate new ones arrive, and the plateau is your steady-state disk size. Size to the plateau and stop extrapolating past it. Where Ignition is the historian, the settings behind that plateau are the ones covered in the guide to setting historian pruning and retention for Ignition tag history.
A plateau well below the configured retention can also mean retention is not delivering what it promises: tag logging that kept four days of history instead of a configured month is a known failure mode, and the WinCC tag logging knowledge-base article walks that check.
Faster-than-scheduled growth has its own causes: backfilled buffers flushing after an outage, event and alarm journals sharing the folder, or a logging mode switched to capture every change. When the measured rate exceeds the budget, downsampling aged raw records to one-minute averages is the standard relief, and the walkthrough of downsampling old Ignition historian data to one-minute averages shows the query pattern.
Questions asked
Do historian backups and transaction logs share the measured disk?
Often they do. If backups, transaction logs or store-and-forward buffers land on the same volume, include them in the measured boundary or give them their own volume, because a full online backup can transiently need space close to the data folder's size. Measuring only the database files and then filling the remaining space with backups is a common route to a disk-full incident.
Is one week of measurement enough if production repeats daily?
One week can work when every day runs the same cycle, but a month is the safer default because it catches monthly batch runs, allocation jumps and at least one maintenance window. If the week you picked contains an outage or a campaign run, its rate is skewed and the projection should be redone on a clean window.
How does the method change when the historian runs in a virtual machine?
Measure inside the guest, using the guest file system's allocated space, not the hypervisor's thin-provisioned disk size. A thin disk grows on demand, so the datastore can fill long before the guest reports low space. Snapshot files also consume datastore capacity, so keep snapshots short-lived and alarm on datastore free space as well as guest free space.
What happens to the projection when the tag count changes?
Treat the measured rate as proportional to the stored-record rate and scale it. Doubling the logged tags roughly doubles growth when deadband behavior is similar. After a major tag addition, either scale the old rate for an interim estimate or restart the measurement and confirm the new rate once the changed configuration has run for a few weeks.