techdiagrams.net
← All templates

HTAP live dashboards

Dashboards read a columnar analytics replica kept fresh by replication and incremental view maintenance — the OLTP primary never sees a GROUP BY.

Open in editor — free, no login Download JSON
ANALYTICS SIDE — ZERO LOAD ON THE PRIMARYorderstxnsreplicationchange deltasincremental applyread viewsad-hoc scans · bounded stalenessCustomerstransactionsOrder ServiceOLTP writesPrimary (row store)point reads/writesAnalytics Replicacolumnar · seconds behindView Maintainerapplies deltas to viewsMaterialized Viewsrevenue/min · funnel stepsExec Dashboardssub-second loadsIVM in one line: revenue_per_min += delta,not SELECT SUM() over everything, every refresh.freshness gets cheap when updates are incremental.

What this design does

Hybrid transactional/analytical processing without melting production: writes hit the row-store primary, replication feeds a columnar replica, and incremental view maintenance keeps aggregates current by applying deltas instead of recomputing. Sub-second dashboards on seconds-old data, zero analyst queries on the OLTP path.

The patterns it composes

Import it, attach your own numbers, and verify the design against failures — or read the engineering notes.