Blog & Insights

How fresh does your data need to be: real-time, hourly or nightly?

Data needs to be as fresh as the fastest decision someone makes with it. For most reporting that is a nightly load, and each step toward real-time costs more.

Data needs to be as fresh as the fastest decision someone makes with it. For most reporting in a mid-market company, that is a nightly load. A smaller set of operational screens needs data that is an hour or a few minutes old, and very little needs to be real-time. Each step toward real-time costs more to build and more to keep running, so decide it one report at a time.

What real-time, hourly and nightly mean in practice

People use “real-time” to mean anything from “within a second” to “not yesterday’s”. Before any design work, ask the person making the request for a number: how old may this figure be when you look at it?

Level How old the data is How it usually works What it suits
Nightly As of the close of business yesterday A scheduled load runs overnight Financial and management reports, trends, anything reviewed weekly or monthly
Hourly, or several times a day One to a few hours Scheduled loads run during the working day Operations screens a supervisor checks through the shift
Near real-time A few minutes Changes are copied from the source as they are made, or in small batches Dispatch, stock available to sell, a queue someone is working through
Real-time Seconds The source system publishes each event and something reacts to it An alert on an outage, a fraud check, anything a system acts on without a person

The last row is a different kind of system from the scheduled loads in the first two. Microsoft draws the same line in its description of Real-Time Intelligence in Fabric: it is for work that reacts to each event as it happens, where a scheduled load runs at set times.

1. Start with the decision the number feeds

Freshness has value only when a person or a system does something different because of it.

  • If the number is reviewed in a weekly meeting or a monthly pack, a nightly load is enough.
  • If a supervisor re-plans the day around it, by moving a crew or expediting an order, data that is an hour or a few minutes old is worth paying for.
  • If a system acts on it with no person involved, by raising an alert or blocking a transaction, it needs to be real-time.

Ask what the person reading the report would do at two in the afternoon with data from five minutes ago that they would not do with data from this morning. If there is no clear answer, a nightly load will do.

In his review on Clutch, Jim Wissing, the president of Express Freight Handlers, says the system we built takes in the customers’ load information each morning, so that a site manager in the field enters a purchase order number and the details fill in on the tablet. A load that runs once a day can serve a screen people use all day. At the other end, the monitoring work for Dave & Buster’s and Main Event took the two brands from finding out about outages when guests complained to catching 95% of issues before anyone was affected. An outage is the kind of event where a delay of a few minutes changes what can be done about it.

2. Check how fresh the source data is

A report cannot be fresher than the system it reads from. If invoices post to the ERP in an overnight batch, if warehouse counts are keyed at the end of a shift, or if a vendor’s system hands over one file a day, a real-time dashboard shows yesterday’s data.

Check completeness as well. Figures taken during the day are partial: today’s revenue before returns and corrections, this month’s margin before the accruals. When an intraday figure sits next to the official one and the two differ, people stop trusting both. Label any figure that is not final.

3. Check what the source system and the reporting tool can bear

Frequent loads put work on the system that takes the orders, and queries that run against the production database all day compete with the people using it. The usual answers are a copy of the database kept for reading, a feed of changes taken from the database’s own log, or events that the application publishes. For software you rent, the vendor’s limits on its API set how often you can ask.

The reporting tool has limits too. Microsoft’s documentation on data refresh in Power BI says a semantic model on shared capacity can be scheduled to refresh up to eight times a day, and up to 48 times a day on Premium or Fabric capacity. For anything fresher, the usual routes are a report that queries the source whenever someone uses it, which Power BI calls DirectQuery mode, or one that reads from a stream. Both are different designs from an imported model on a schedule.

4. Count what each step toward real-time adds to the cost

The amount depends on the systems involved. It comes from three places.

  • Building it. A nightly load can copy everything again each night. A load that runs every hour or every few minutes has to pick up only what changed, which means the source must record changes and deletions reliably. A stream has to cope with events that arrive late, twice or out of order.
  • Running it. A nightly job has hours to finish and can be run again before anyone arrives. An hourly job runs while people are working, and a failure shows within the hour. A stream never stops, so the computing it uses is paid for around the clock.
  • Supporting it. When a nightly load fails, someone fixes it in the morning. When a real-time feed stalls, the people relying on it notice within minutes, and someone has to be on call.

5. Write the requirement down for each report

A mixed design is normal: most reporting loaded nightly, a handful of operational tables refreshed through the day, and one or two alerts driven by events. For each report, write down how old the data may be, by what time each day it must be loaded, and who is told when it is late. Then put the time of the last load on the report itself.

Start at the slower level, and move a report up when someone names the decision that needs it.

Often the request for real-time is a complaint that a number arrives days late, because someone compiles it by hand from systems that are not connected. The gain then comes from connecting them.

Common questions

Is real-time data always better? No. It costs more to build and to run, and figures taken during the day are incomplete. It is better only where someone or something acts within minutes on what it shows.

Can Power BI show real-time data? A report built on imported data is as fresh as its last refresh, and Microsoft’s documentation limits scheduled refreshes to eight a day on shared capacity and 48 a day on Premium or Fabric capacity. For fresher data, the usual routes are a report that queries the source directly or one that reads from a stream.

Our CEO asked for a real-time dashboard. What should we say? Ask which decisions the dashboard is for and how old each number may be. The answer is often this morning’s, and a nightly load that finishes on time every day delivers that.

If you cannot say how old the numbers on a report are, or where the delay comes from, a System Evaluation gives you an independent written account of the systems and data behind it for a fixed fee.

Related service: Data & Analytics

More like this, in your inbox. Subscribe for our latest thinking, resources, and events.

Get started

Want results like these?