Skip to main content
You can monitor pre-aggregates from Project Settings > Pre-aggregates. This section has two tabs: Materializations for tracking status and Analytics for query hit/miss statistics.

Materialization status

The Materializations tab shows all your pre-aggregates and their current state. Pre-aggregate materializations list Each pre-aggregate has a materialization lifecycle: You can click on any pre-aggregate to see its full details, including row count, file size, and duration. Pre-aggregate materialization detail

Hit and miss statistics

The Analytics tab tracks how often queries hit or miss pre-aggregates on a daily basis. Pre-aggregate analytics You can break down the statistics by:
  • Explore name — which explores are benefiting from pre-aggregates
  • Query context — whether the query came from a chart, dashboard, or the explorer
  • Chart or dashboard — which specific saved content is hitting or missing
Use these stats to identify opportunities for new pre-aggregates or to tune existing ones.

Why a query misses a pre-aggregate

When a query doesn’t match any pre-aggregate, Lightdash records the specific reason. Understanding these reasons helps you decide whether to adjust your pre-aggregate definition or accept the warehouse query.

Dashboard pre-aggregate view

You can also monitor and manage pre-aggregates directly from any dashboard. Open the dashboard menu to access pre-aggregate options. Pre-aggregate options in the dashboard menu
  1. Pre-aggregation audit — Shows which tiles in the dashboard are hitting or missing pre-aggregates, and why. Available to editors, developers, and admins.
  2. Rebuild pre-aggregates — Triggers a manual re-materialization for the pre-aggregates used by this dashboard. Available to developers and admins only.
Pre-aggregate audit view for a dashboard
The same audit data is available from the terminal via lightdash pre-aggregate-audit, which is useful for scripting, project-wide sweeps, and CI gates.