Studio Matrx Monthly · Volume 1 · Issue 3 · August 2026
Amogh N P
 In loving memory of Amogh N P — Architect · Designer · Visionary 
Time-Series Data & HistoriansLesson 4.2

Lesson 4.2 · Data & Platforms

Time-Series Data & Historians

Timestamp, value, tag - the shape of nearly all building data, and the databases built for it

12 min Interactive lessonFree · open lessonByAmogh N P· Architect & interior designer
The hook

A building does not produce documents. It produces an endless column of timestamped numbers - and that changes everything about how you store it.

Ask what data a building actually generates and the answer is almost boringly uniform: at 09:00 the supply air was 21.4 degrees; at 09:05, 21.9; at 09:10, 22.6. A timestamp, a value, and a tag naming what was measured - repeated forever, for thousands of points. This is time-series data, and it is the native language of every sensor, meter and controller in the building.

That uniform shape has consequences. Time-series data is written constantly and almost never edited, read mostly as ranges (show me last Tuesday), and grows without limit. Ordinary databases and spreadsheets are built for the opposite pattern, so a whole class of tools - time-series databases and the industrial 'historians' that predate them - exists to handle it. This lesson is about that shape and the tools that tame it, because the twin's memory lives here.

Timestamp + value + tag. TSDB / historian. Resolution vs retention. Watch the clocks.

Timestamp, value, tag: the anatomy of a reading

Strip any building measurement to its essentials and you get three things: when (a timestamp), what value (a number, usually), and which point (a tag or identifier naming the source). Supply-air temperature on air handler one at 09:10 was 22.6 - that is one data point in a series. String millions of these together, per point, across a building, and you have its entire operational record.

A few properties make this shape distinctive. It is append-only in practice: new readings are constantly added, and old ones are essentially never changed - you do not go back and edit what the temperature was at 09:10. It is ordered by time, and almost always queried by time - a chart of the last 24 hours, an average for last month, the peak last summer. It is high-volume and regular: a single point sampled every five seconds is over 17,000 readings a day, and a real building has thousands of points.

That combination - write-heavy, append-only, time-ordered, read-by-range, enormous - is precisely what a general-purpose relational database is worst at. Try to keep a year of five-second data for a whole building in a spreadsheet and it dies; do it naively in a relational table and queries crawl and storage balloons. The data's shape demands a purpose-built tool, which is the whole reason the next section exists.

It is worth pausing on how uniform this shape is, because it is the field's great simplifier. A temperature, a kilowatt reading, an occupancy count, a valve position, a CO2 level - wildly different quantities, yet every one of them arrives as the same humble triple of time, value and tag. That uniformity is what lets a single kind of database, a single kind of chart and a single kind of analytic serve an entire building. It is also why the tag carries so much weight: the value 22.6 is meaningless until the tag tells you it is a supply-air temperature and not a boiler pressure or a car-park humidity. We spend the whole of the next lesson on making that tag mean something; here, simply notice that the value is nothing without it.

ONE POINT OVER TIME: TABLE AND CHARTtimestampvaluetag09:00:0021.4AHU1_SAT09:05:0021.9AHU1_SAT09:10:0022.6AHU1_SAT09:15:0023.1AHU1_SAT09:20:0022.3AHU1_SAT09:25:0021.7AHU1_SAT09:30:0021.5AHU1_SAT242009:00 -> 09:30 (supply-air temp, deg C)Timestamp + value + tag, appended forever. Append-heavy, read-by-range: why time-seriesdatabases and historians exist instead of an ordinary relational table.
Zoom
One point over time, as a table and as a chart. Each row is a timestamp, a value and a tag (AHU1_SAT, supply-air temperature) - appended forever, never edited, queried by range. This append-heavy, read-by-range shape is why time-series databases and historians exist instead of an ordinary relational table.

when + what + which. Append-only, time-ordered, read-by-range, huge.

Time-series databases and the industrial 'historian'

Two families of tool specialise in this data, and it helps to know both.

A time-series database (TSDB) is a database engineered for timestamped data - examples include InfluxDB, TimescaleDB and Prometheus. It exploits the shape ruthlessly: because data arrives in time order and is rarely edited, it can store readings in tight, compressed blocks, index heavily on time, and answer range and aggregation queries (averages, min/max, rates) far faster and in far less space than a relational database. Compression is dramatic - regular sensor data often shrinks by an order of magnitude - which is what makes keeping years of history affordable.

The historian (or process historian) is the older, industrial cousin, born in factories and plants and long used in building automation. A historian is a system dedicated to reliably capturing and storing streams of tag-based sensor readings - the classic examples come from industrial control - with a heavy emphasis on never losing a sample, storing efficiently, and serving trends to operators. Your BMS almost certainly has a historian function quietly logging 'trend' data behind every graph it draws.

The line between them is blurring - modern historians look more like time-series databases and vice versa - but the vocabulary persists. When a building engineer says 'pull it from the historian' and a data engineer says 'query the TSDB', they usually mean the same act: reading a point's history from the store built to hold it. For a digital twin, this store is its memory - without it, the twin only knows now, and can neither show a trend nor learn a pattern.

TSDB = modern, compressed, query-fast. Historian = industrial, never-lose-a-sample. Converging.

Resolution and retention: you cannot keep everything forever

Two dials govern every time-series store, and understanding them prevents most real-world grief.

Resolution (or sampling interval) is how often a point is recorded. Every 5 seconds gives you fine detail and catches fast transients - a valve hunting, a brief spike - but generates mountains of data. Every 15 minutes is far leaner but blind to anything quick. Choosing resolution is a genuine engineering decision: a safety-critical or fast-moving signal needs fine sampling; a slowly drifting space temperature does not. Sampling too coarsely loses events you needed; too finely wastes storage and money on detail no decision uses.

Retention is how long you keep data at a given resolution. You almost never keep raw high-resolution data forever - it is too much. Instead a retention policy downsamples as data ages: keep raw 5-second data for a week, roll it up to 5-minute averages for two years, then to hourly means for a decade. Recent data stays detailed for troubleshooting; old data survives as summaries for long-term trends and benchmarking, at a tiny fraction of the size. This laddering is standard practice and quietly essential - it is the difference between an archive that costs a fortune and one that runs for pennies.

The worked trade-off: a chiller's power at 5-second resolution lets you diagnose a fault this week, but for comparing this year's summer to last, an hourly average is plenty - so you keep both, at different ages, deliberately. Design these dials per point, not once for the whole building.

RESOLUTION VS RETENTION: THE DOWNSAMPLING LADDERRaw: every 5 seckeep 7 daysRoll up: 5 min meankeep 2 yearsRoll up: 1 hr meankeep 10 yearshigh detailhuge volumetiny volumelong historyYou cannot keep everything at full resolution forever. Retention policies downsample old data.
Zoom
The downsampling ladder. You cannot keep everything at full resolution forever, so a retention policy rolls ageing data up: raw 5-second data for a week, 5-minute averages for two years, hourly means for a decade. Recent data stays detailed; old data survives as compact summaries.

Resolution = how often. Retention = how long. Downsample old data or drown in it.

Why the twin depends on trustworthy history

Everything the twin and its analytics do beyond the present moment depends on this store being complete and correct. A trend chart, a benchmark, a fault-detection rule, a machine-learning model predicting next week - all of them read history, and history is only as good as the time-series store that kept it.

The practical hazards are mundane but ruinous. Gaps appear when a sensor or network drops out, leaving holes a naive average will silently mis-read. Clock problems - devices with the wrong time or timezone - scramble the ordering that everything depends on, so disciplined time-stamping (ideally synchronised, in a consistent timezone such as UTC) matters enormously. Bad values - a sensor reporting a stuck reading or an impossible spike - poison any statistic computed over them unless flagged. And inconsistent resolution across points makes them hard to compare or align.

Good practice treats the time-series store as a first-class asset: monitor the health of the data itself, flag gaps and outliers rather than hiding them, keep timestamps synchronised and unambiguous, and set retention deliberately so the history you will actually need survives. Do this and the twin has a reliable memory to reason over. Neglect it and every clever thing built on top inherits the rot - which is why, once again, the humble store beneath the twin decides how far the twin can be trusted.

There is a cultural point buried here too. Building people and data people often meet across this store and use different words for the same thing - a controls engineer says 'trend log' and 'the historian', a data engineer says 'series' and 'the TSDB' - but they are describing one shared asset. The best smart-building teams are the ones who can speak both dialects and treat the history as common ground: engineers who understand why a data scientist frets about clock drift, and data scientists who understand why an engineer sampled that pressure every second. When those two worlds respect the same store, the twin gets a memory it can rely on. When they do not, each blames the other for a fault that was really a gap nobody owned.

Gaps, bad clocks, stuck values, mixed resolutions - the four ways history lies.

Tools & terms you'll meet in this lesson

Time-series database (TSDB)

A database optimised for timestamped, append-heavy data

Examples: InfluxDB, TimescaleDB, Prometheus. Heavy compression and time-indexing make years of history affordable and range queries fast.

Historian

An industrial system that reliably captures and stores tag-based sensor streams

The older cousin of the TSDB, long used in BMS and process control; your BMS trend logs are a historian at work.

Retention policy

Rules for how long data is kept at each resolution

Downsamples ageing data (raw to averages) so recent detail stays but old history survives cheaply.

Sampling interval / resolution

How often a point is recorded

A per-point engineering choice; too coarse loses events, too fine wastes storage.

Hands-on workshop

Workshop — read a trend and interrogate its resolution

The skill here is reading time-series like an engineer: seeing the timestamp-value-tag underneath a chart, and judging whether its resolution and retention fit the question being asked.

Any app or system that shows historical building data over time. No coding required.

Given & goal
Goal: analyse one real time-series trend and its storage choices
Inputs: any trend graph you can access (smart-home app history, BMS trend, energy portal)
Time: ~30 minutes
  1. 1Find a trend chart with history - a smart thermostat's temperature log, a home energy app's daily usage, or a BMS trend if you have access.
  2. 2Identify the underlying timestamp, value and tag: what point is this, in what unit, and how often is a reading recorded (the resolution)? Zoom in and out to see if the interval changes.
  3. 3Look for the fingerprints of retention/downsampling: is recent data more detailed than older data? Do old months appear smoothed or averaged compared to the last few days?
  4. 4Judge fitness: is the resolution fine enough to answer a real question (did the AC short-cycle last night?) or too coarse? Would a finer or coarser interval have served better?
  5. 5Hunt for a gap or a suspicious value in the history and note how the chart handled it - interpolated, blank, or a spike - and what that would do to an average computed over it.

You’ll walk away with
A short note on one real trend: its point, unit and resolution; evidence of any downsampling/retention; a judgement on whether the resolution fits the question; and one data-quality issue (gap or outlier) you found.

The worked example

Three altitudes on the same idea

Read the band that fits you — or all three.

For the architectBuildings that sense & adapt

Resolution and retention are briefing decisions, not afterthoughts. When you specify metering and monitoring, you are implicitly deciding what history the building will ever be able to tell about itself. Asking for the right points at sensible sampling intervals, and requiring that trend data be retained and exportable, means a future twin or energy audit has real history to work from rather than a blank past.

For the interior designerSmart comfort, wellbeing & experience

History is what lets an interior prove it works. Comfort complaints, daylight response, how a space is actually used over a season - all of it lives in time-series trends. Knowing that this data is being logged, and at what resolution, lets you go back and show a client that the responsive lighting or ventilation you specified is genuinely performing, with a chart instead of an opinion.

For the studentSkills, portfolio & proptech jobs

Time-series is a portable, in-demand data skill far beyond buildings. The same tools and thinking run finance, monitoring, IoT and industrial systems. Understanding timestamp-value-tag data, time-series databases, resolution and retention, and the pitfalls of gaps and clocks gives you a genuinely transferable foundation - and it is exactly what analytics and platform teams expect you to already grasp.

Misconception check

Building data is just numbers - a normal database or a big spreadsheet can hold it fine.

It can, badly, and only briefly. Time-series data has a shape - constant appends, time-ordering, range queries, relentless growth - that general-purpose tools handle inefficiently. A single point sampled every few seconds is tens of thousands of readings a day; a building has thousands of points; a spreadsheet buckles within days and a naive relational table becomes slow and huge within months. Time-series databases and historians exist precisely because this workload is different: they compress regular data heavily, index on time, and answer 'last Tuesday's average' in milliseconds. The mistake is not that numbers need something exotic, but that their pattern - not their type - demands a purpose-built store.
Try it

Do it yourself

Reason it through - no tools needed.

  1. 1What three things make up a single time-series data point?
  2. 2Name two properties of time-series data that ordinary databases handle badly.
  3. 3Explain the difference between resolution and retention.
  4. 4What does downsampling do, and why is it necessary?
  5. 5Give two ways a time-series history can silently lie to the twin.
Take this with you

The one line to carry out

Building data is time-series - timestamp, value, tag - written constantly, read by range and growing without limit, so it needs purpose-built time-series databases and historians, tuned with resolution and retention. This store is the twin's memory; its completeness sets the ceiling on everything built above it.
Take it further
References & further reading

Peer-reviewed journals & authoritative standards

  1. 01Time series databaseWikipedia, 2026.
  2. 02Data lakeWikipedia, 2026.
  3. 03Digital twinWikipedia, 2026.
  4. 04Building automationWikipedia, 2026.
Related lessons
Recap
Almost all building data is time-series: a timestamp, a value and a tag, appended forever and read mostly as ranges. That shape defeats ordinary databases, so time-series databases (InfluxDB, TimescaleDB) and industrial historians exist to compress and query it efficiently. Two dials govern the store: resolution (how often you sample) and retention (how long you keep it, downsampling old data). Gaps, clock errors and bad values are the ways history lies, and the twin is only as good as the history it reads.
Carry forward →

We have the data and a place to keep it. Next we zoom out to the system that ties collection, storage, device management and integration together - the IoT or smart-building platform - and the build-versus-buy decision behind it.

A

The author

Amogh N P

Architect, interior designer, and creative polymath. Studio Matrx began in his notebooks — his vision of design made honest, useful, and open to everyone. Its Academy is written and taught in his memory, and free, forever.

More about Amogh →