Materialization
Asemic charts don’t scan your raw events on every query. They read a precomputed entity table: one row per user per day, holding that user’s properties as of that day. Computing it once and querying it many times is what keeps dashboards fast and warehouse bills sane. It is also why a published model needs backfilling before charts show data.
The entity table
For each day in a materialized range, every user active within the “Active days” window has a row carrying their properties: spend to date, days since registration, battles played, and whatever else the model defines. Metrics are computed from these rows. The table lives in your warehouse, in the dataset you chose as “Data model schema”.
A user enters the model on the first day any user-activity event sees them. A registration event, when the model has one, is the preferred registration row for that day, but it is not required: a player whose registration event was never sent is still registered and still counted in DAU and revenue. For GA4 exports, see who counts as a new user for how install dates are set. Models built before this rule took effect (28 October 2026) change after a rebuild: active users and revenue count every active player, and installs and early cohorts move.
Active days
“Active days” (default 90) controls how long a user keeps a row in the daily table after their last activity. A user who lapses stays present, with their properties frozen at their last state, for that many days, then drops out until they return.
The tradeoff: a longer window means lapsed users remain visible to cohorts and lifecycle metrics for longer (useful for churn and resurrection analysis), at the cost of a larger daily table. The 90-day default suits most games; change it in event setup only with a reason.
Coverage
Materialization is per-day, and each day is either full, partial, or none: how many of the model’s properties have been recomputed for that day. A day is partial when some properties have been built for it and others have not, typically after you publish new properties and before you backfill them. The ⋮ menu → “Materialization coverage…” dialog shows the heatmap and the backfill actions. Two consequences worth internalizing:
- Gaps are per-day, not global. A chart over a range with missing days shows exactly those days as gaps; the rest of the range is fine.
- Backfills are incremental. Extending your history later only computes the days you add; nothing already materialized is redone.
Today is excluded from backfills: it is still being written, and materializes on the next day’s run.
How a build writes
A backfill builds the model in batches of days, and every batch follows the same rules.
- Partitioned by day. On BigQuery, the tables Asemic writes to your data model dataset (
registrations,activity,daily,active,lifetime) are partitioned by day. Rebuilding a day rewrites only that day, and a chart over a week reads only that week. Tables created before November 2026 were partitioned by month; they move to the daily layout the next time you publish, with no rebuild needed. - One read per source table. When many events come from the same table, such as a GA4
events_*export or one shared events table, a build reads that table once and applies each event’s own filter to its rows. A 60-event GA4 model used to scan the export 60 times per build. The bytes billed are the same, but the warehouse compute (slot time) drops sharply, which matters on capacity-based pricing and leaves room for dashboard queries. - Checked after every write. After writing a table, the build verifies that rows outside the days it wrote are unchanged, that no (day, user) key appears twice, and that the daily table holds exactly one row per active user-day (a rebuild of selected properties must instead keep every existing row). If a check fails, the run stops, the days are not marked as built, and the backfill reports which table, which days, and which check.
- One build at a time. Two builds of the same project would write the same tables at once, so while one is running a second is refused. See Backfill for what that looks like.
- Days whose raw events are gone are kept. If the source tables for days the model has already built have been deleted (a table expiration, the BigQuery sandbox’s 60-day limit, a manual cleanup), a backfill over those days keeps them as they were, builds the rest, and lists the kept days in its warnings. Rebuilding them would replace your history with nothing.
For GA4 exports, Asemic can also keep an analysis-ready events copy in your data model dataset. Each backfill batch builds the copy for its days first, then builds the model from the copy, and the Materialization coverage dialog shows which days the copy covers and the result of its last health check.