Skip to content

Incremental Materialized View Refresh Coverage Matrix: Which Operators Refresh Incrementally on Which Engines

Incremental refresh support varies by engine and by operator.

Cross-posted. This article’s canonical home is Data Lakehouse Hub.

Incremental refresh support varies by engine and by operator. AWS Glue 6.1, released Nov 29, 2026, refreshes Iceberg materialized views incrementally for projections, filters, inner joins and SUM/COUNT aggregations. Other shapes fall back to full recomputation. This matrix lists which operators each engine refreshes incrementally, and what freshness each one promises.

A note on scope before anything else. This page covers the decision: which engine refreshes what incrementally today, and when that’s worth paying for. The mechanism, meaning how a materialized view records which source snapshots it reflects and how the proposed Apache Iceberg specification stores that refresh state, has its own article on IcebergLakehouse.com: Iceberg Materialized Views Go to a Vote. Read that one for how refresh state works. Read this one to decide where to run your views.

Disclosure: I work at Dremio, whose Reflections feature also maintains materializations. I’ve left it out of the matrix to keep this page focused on engines that expose standard CREATE MATERIALIZED VIEW semantics.

Why Incremental Refresh Is the Whole Game

A materialized view stores a query’s result so later queries read the stored result instead of recomputing it. The idea is decades old. What makes it expensive is keeping the result fresh.

The naive approach is a full refresh. Drop the stored result and run the whole query again. For a view over a billion-row fact table, every refresh scans a billion rows, even if only ten thousand changed. Run that every fifteen minutes and the view costs more to maintain than the queries it saves.

Incremental refresh changes the math. The engine finds what changed in the source tables since the last refresh and updates only the affected part of the result. If ten thousand rows changed, the refresh touches roughly ten thousand rows’ worth of work plus some overhead. That’s what makes frequent refresh affordable.

The catch is that not every query can be maintained incrementally, and engines differ widely on which ones they handle. A view that refreshes incrementally on one engine falls back to a full recompute on another. Often the fallback is silent. You find out from the bill.

How Engines Find What Changed

Incremental refresh needs two things: a record of what the view last saw, and a way to read the changes since then.

For Iceberg sources, the first part is natural. Every Iceberg commit creates a snapshot with an ID. A materialized view records the snapshot ID of each source table at its last refresh. Trino’s Iceberg connector documents exactly this. Each refresh records the snapshot IDs of all Iceberg source tables, and queries compare them to the current snapshots to decide whether the stored data is current.

The second part depends on the kind of change. Appends are easy. The engine reads the data files added between the recorded snapshot and the current one. Deletes and updates are harder. The engine must find rows that left the source and remove their contribution from the result. For a SUM, that means subtracting. For a MIN or MAX, removing the current minimum means scanning for the new one. For an outer join, a deleted row on one side can turn a matched row into a NULL-padded row.

That’s why engines differ. Supporting appends for simple shapes is a modest engineering task. Supporting deletes across outer joins, windows, and non-decomposable aggregates is a large one. The matrix below is mostly a map of how far each engine has gone.

Operator Classes and Why Some Are Hard

The matrix groups SQL into operator classes. Here’s what each class costs to maintain.

Projection and filter. Compute expressions and apply predicates on changed rows only. Every engine with incremental refresh handles these.

Inner join. Join the changes from each side against the full other side. Efficient when one side is small or changes rarely. Cost grows when both sides change a lot.

Outer join. Same as inner join, plus tracking rows that gain or lose a match, which flips them between matched output and NULL-padded output. This is where many engines stop.

Decomposable aggregates (SUM, COUNT). Keep a running total per group and add or subtract deltas. Cheap and exact, as long as the engine sees deletes as negative contributions.

Non-decomposable aggregates (MIN, MAX, COUNT DISTINCT). Inserts are easy. A delete of the current minimum forces a rescan of the group. Engines either rescan affected groups or fall back to full refresh.

DISTINCT. Treated as a GROUP BY over every column, with the same per-group cost.

Window functions. Recompute every window partition that contains a change. Without a PARTITION BY, the whole table is one partition, so any change recomputes everything.

Set operations. UNION ALL just combines change streams. UNION also removes duplicates, which needs state.

The Matrix

Each cell says what the engine’s documentation states for that operator class. “Full” means the engine accepts the view and refreshes it with a full recompute. “Not documented” means I couldn’t find a clear statement.

Engine (view type)Projection, filterInner joinOuter joinSUM, COUNTMIN, MAX, other aggregatesDISTINCTWindow functionsUNION ALL
AWS Glue 6.1 (Iceberg MVs)IncrementalIncrementalNot listedIncrementalNot listedNot listedNot listedNot listed
Amazon Redshift (MVs on Iceberg)IncrementalIncrementalFullIncrementalFullFullFullFull (set operations)
Trino (Iceberg connector MVs)Engine decidesEngine decidesEngine decidesEngine decidesEngine decidesEngine decidesEngine decidesEngine decides
Databricks (MVs, serverless)IncrementalIncrementalIncrementalIncrementalIncremental with exceptionsNot documentedIncremental with PARTITION BYIncremental
Snowflake (dynamic tables)IncrementalIncrementalIncrementalIncrementalIncremental via GROUP BYIncrementalIncremental per partitionIncremental
BigQuery (MVs)IncrementalLimited (left side appends only)Not incremental for smart tuningIncrementalNot documented hereNot documented hereNot documented hereSupported with matching partition TTLs

Sources: Glue 6.1 announcement, Redshift MVs on Iceberg, Trino Iceberg connector, Databricks incremental refresh, Snowflake incremental operators, BigQuery MV usage.

Reading the Rows

AWS Glue 6.1. The announcement lists projections, filters, inner joins, and SUM and COUNT aggregations as incrementally refreshed, with only changed data processed. It doesn’t list other operators. Treat anything outside that list as a full refresh until AWS documents more.

Amazon Redshift on Iceberg. Redshift’s documentation is the most explicit about limits. Incremental refresh covers SELECT ... WHERE ... GROUP BY with only COUNT and SUM, and inner joins between Iceberg tables. DISTINCT, outer joins, window functions, subqueries, set operations, GROUPING SETS, and other aggregates force a full refresh. Redshift also falls back to full refresh when source snapshots from the last refresh have expired. It rejects Iceberg v3 source tables outright, and it has no automatic refresh, so you run REFRESH MATERIALIZED VIEW yourself.

Trino. Trino’s Iceberg connector stores each view’s data in an Iceberg storage table and supports both full and incremental refresh. The docs say the choice depends on the view definition and the source tables’ snapshot history, without listing operator rules. Incremental refresh appends new results to the storage table, which creates more files. The iceberg.incremental-refresh-enabled property, true by default, turns it off when needed.

Databricks. Databricks documents broad support on serverless compute: inner and all outer joins, GROUP BY, CTEs, UNION ALL, QUALIFY, and window functions with PARTITION BY. Exceptions force a full recompute. These include SUM or AVG over FLOAT or DOUBLE columns (casting to DECIMAL fixes it), recursive CTEs, and non-deterministic functions outside a filter. Unity Catalog managed Iceberg v2 or v3 tables work as sources, with v3 recommended. Foreign Iceberg tables work only with full refresh.

Snowflake. Dynamic tables document incremental behavior for every operator class in the matrix, with performance guidance for each. Outer joins are the most sensitive to data layout. Scalar aggregates without GROUP BY recalculate fully on any change. Window functions without PARTITION BY refresh the whole table.

BigQuery. BigQuery’s incremental model is narrower. For join views, only tables on the left side of the join can have appended data. Changes to the right side block incremental updates. UPDATE, MERGE, DELETE, and truncation on base tables also block incremental updates until the next refresh. For BigLake base tables, any delete triggers a full refresh.

The Silent Fallback Problem

The single most important operational fact in this article is that fallback is often silent.

Databricks says it directly. Under the default AUTO mode, a fallback to full recompute “doesn’t fail the update or raise an error.” You detect it in the event log or by watching run times. Redshift falls back when source snapshots have expired, which happens when snapshot expiration runs more often than refresh. BigQuery reverts to querying base tables after a delete.

None of these behaviors are bugs. They keep results correct. They also mean a view that refreshed in 30 seconds yesterday takes 30 minutes today, and nothing tells you why.

The fix is to make the refresh mode visible:

Here’s the Redshift check, since its system view is documented:

-- Was the last refresh incremental or full? Check status and timing.
SELECT mv_name, starttime, endtime,
       DATEDIFF(second, starttime, endtime) AS seconds,
       status
FROM svl_mv_refresh_status
WHERE mv_name = 'daily_revenue'
ORDER BY starttime DESC
LIMIT 10;

The status column describes how the refresh ran. The seconds column, computed from start and end, is your early warning. A view that normally refreshes in 20 seconds and suddenly takes 900 has fallen back, and the status text tells you why.

Designing Views That Stay Incremental

Most fallbacks come from a handful of definition choices. Writing views to avoid them is cheaper than paying for full recomputes.

Keep aggregates decomposable. Prefer SUM and COUNT. Compute averages as SUM / COUNT in the consuming query instead of storing AVG. Avoid MIN, MAX, and COUNT(DISTINCT) in views over frequently deleted data.

Cast floating-point measures. On Databricks, SUM over DOUBLE forces a full recompute. Casting to DECIMAL keeps it incremental. Floating-point sums aren’t associative, which is why engines avoid maintaining them incrementally.

Prefer inner joins. If referential integrity holds, write an inner join. Several engines only maintain inner joins incrementally.

Partition every window. A window function without PARTITION BY recomputes everything on any change.

Split complex views into layers. A deduplication step, then a join, then an aggregate, each as its own view. Snowflake’s guidance says this directly for DISTINCT under a join. Each layer stays within what the engine maintains incrementally, and a fallback in one layer doesn’t force recomputation of the others.

Keep source snapshots longer than the refresh interval. Incremental refresh reads changes between snapshots. If snapshot expiration removes the snapshot the view last saw, the engine can’t compute the difference and falls back.

Here’s a layered example in generic SQL that stays within the narrowest common subset, Glue and Redshift’s documented incremental shapes:

-- Layer 1: filter and project the fact table.
CREATE MATERIALIZED VIEW sales_shipped AS
SELECT order_id, customer_id, order_date, CAST(amount AS DECIMAL(18,2)) AS amount
FROM lake.sales.orders
WHERE status = 'shipped';

-- Layer 2: inner join to a dimension and aggregate with SUM and COUNT only.
CREATE MATERIALIZED VIEW revenue_by_region_day AS
SELECT c.region, s.order_date,
       COUNT(*)      AS orders,
       SUM(s.amount) AS revenue
FROM sales_shipped s
JOIN lake.sales.customers c ON s.customer_id = c.customer_id
GROUP BY c.region, s.order_date;

Layer 1 is a projection and a filter, which every engine with incremental refresh supports. The cast to DECIMAL keeps the later SUM exact and avoids floating-point fallbacks. Layer 2 uses an inner join and only COUNT and SUM. Average order value stays out of the view. Consumers compute revenue / orders at query time. Check whether your engine allows a materialized view to read another materialized view before you copy this pattern. Databricks lists materialized views as supported sources, while other engines differ.

The Cost Decision: Incremental vs Scheduled Full Rebuild

Incremental refresh isn’t free. Each refresh pays fixed overhead to plan, read change sets, and commit. Each refresh also creates a snapshot in the view’s storage table. Trino notes that incremental refresh appends data and creates more files.

So the question is when incremental refresh beats a scheduled full rebuild. Three variables decide it.

  1. Change ratio. The share of source data that changes between refreshes. Snowflake’s guidance suggests keeping changes to roughly 5% of the base table or less for efficient incremental refresh. When most of the table changes each cycle, a full rebuild does about the same work with less bookkeeping.
  2. Refresh frequency. Frequent refreshes keep each change set small, which favors incremental refresh. A daily refresh of a table that churns all day accumulates a large change set.
  3. Operator mix. Views that need outer joins or non-decomposable aggregates on engines that don’t maintain them will fully recompute anyway. Paying for an incremental-capable engine buys nothing for those views.

A practical approach is to measure both. Run a full rebuild once and record its cost. Run incremental refresh for a week at your target frequency and record total cost. If incremental refresh costs more than a few full rebuilds per day, your change ratio or operator mix is working against you.

Freshness Promises Differ Too

Engines also differ on what “fresh” means when a view is behind its sources.

Trino compares the snapshot IDs a view recorded against the current source snapshots. If all sources are Iceberg and nothing changed, it keeps using stored data even past its grace period. The WHEN STALE clause on CREATE MATERIALIZED VIEW controls what happens when the view is stale.

BigQuery reads changed data from base tables at query time when it can, so queries return fresh results from a partially stale view. After deletes, it falls back to the base query until the view refreshes.

Redshift and Glue refresh on your schedule. Between refreshes, the view returns what it last computed. Redshift on Iceberg has no autorefresh at all.

For consumers, this means the same view definition returns different freshness on different engines. Document the freshness contract next to each view: how often it refreshes, and what a query sees between refreshes.

What Changes When the Iceberg View Spec Lands

Today every engine stores its materialized view metadata its own way. A view created in one engine isn’t readable as a materialized view in another, even when its storage table is plain Iceberg.

The Iceberg community’s materialized view work aims to fix that by defining a standard storage table and refresh state in the specification. The vote opened on November 16, 2026, and as of November 25 it had no binding votes. The mechanism is covered in the companion article linked at the top.

If it passes and engines adopt it, two things in this matrix change. First, a view created in one engine becomes readable, and its freshness checkable, from others. Second, the refresh engine becomes a choice. You can define a view once and refresh it with whichever engine maintains its operators incrementally. The matrix then turns into a tool for picking the refresh engine per view, not just per platform.

A Worked Change-Ratio Example

Here’s the cost reasoning with illustration numbers, not measurements. Swap in your own.

Take an orders table with 2 billion rows. Each day, 20 million rows arrive as appends and 2 million rows are corrected through updates. The view is revenue_by_region_day from the example above. You want it refreshed every 15 minutes during business hours, about 40 refreshes a day.

Full rebuild every cycle. Each refresh scans 2 billion rows and the customer dimension. Forty refreshes a day means scanning 80 billion rows a day to keep one view current. That’s almost never worth it.

Incremental refresh every cycle, on an engine that handles updates. Each refresh reads roughly 500,000 appended rows and 50,000 updated rows, about 1/40 of a day’s changes. It touches only the region and date groups those rows belong to. The fixed overhead of planning and committing dominates, but total work is a tiny fraction of the full rebuild.

Incremental refresh on an engine that handles only appends. The appends refresh incrementally. The updates either block incremental refresh or force a fallback. On BigQuery, updates on base tables block incremental updates until the next refresh. On Redshift, the documentation doesn’t say how deletes are handled, so test it. If every cycle contains updates and updates force full refreshes, you’re back to the first scenario, with extra bookkeeping on top.

Hybrid. Route corrections into a separate table. Keep the view’s source append-only so incremental refresh works, and apply corrections in a nightly full rebuild. This is a common pattern on append-focused engines. It trades same-day accuracy for cost.

The arithmetic points at one variable above all others: whether your source changes are appends or updates, and whether your engine maintains updates incrementally. Get that answer before you compare anything else.

Testing Incremental Correctness

Incremental maintenance is harder to get right than full recompute. Engines test it heavily, and you should still verify your own views, especially after engine upgrades or definition changes. The test is simple. Compare the stored view against the view’s query run fresh.

-- Rows in the view that the fresh query doesn't produce.
SELECT region, order_date, orders, revenue FROM revenue_by_region_day
EXCEPT
SELECT c.region, s.order_date, COUNT(*), SUM(s.amount)
FROM sales_shipped s
JOIN lake.sales.customers c ON s.customer_id = c.customer_id
GROUP BY c.region, s.order_date;

-- Rows the fresh query produces that the view lacks.
SELECT c.region, s.order_date, COUNT(*), SUM(s.amount)
FROM sales_shipped s
JOIN lake.sales.customers c ON s.customer_id = c.customer_id
GROUP BY c.region, s.order_date
EXCEPT
SELECT region, order_date, orders, revenue FROM revenue_by_region_day;

Both queries return zero rows when the view is correct and current. Run them right after a refresh, so new source changes don’t show up as false differences. On large views, add a WHERE order_date >= ... filter to both sides and check a recent window each day plus a full check weekly.

If you get differences, check three things in order. First, whether a source changed between the refresh and the test. Second, whether the view uses floating-point measures, where tiny differences are expected. Third, whether a recent engine upgrade changed incremental behavior. Only the third is a real bug, and it’s worth reporting with the two queries attached.

Choosing a Refresh Engine per View

Put the pieces together and the choice per view follows a short sequence.

  1. List the operators in the view. Projection, filter, join types, aggregate functions, windows, set operations.
  2. Classify source changes. Appends only, or appends plus updates and deletes.
  3. Find engines that maintain every operator incrementally for your change type. Use the matrix, then confirm in current documentation.
  4. Check source compatibility. Iceberg format version, catalog, and whether foreign tables work incrementally. Redshift rejects Iceberg v3 sources. Databricks refreshes foreign Iceberg tables only fully.
  5. Check freshness behavior. Scheduled only, automatic, or partial reads from base tables at query time.
  6. Restructure if no engine fits. Split the view into layers, cast measures, or route corrections to a separate path.

Most teams don’t get to pick a different engine per view today, because each engine keeps views in its own format. That’s exactly the limit the Iceberg specification work addresses. In the meantime, the sequence tells you which views your current engine maintains cheaply and which ones to redesign.

Failure Modes and Warning Signs

Silent full recomputes. Warning sign: refresh duration or cost jumps without a definition change. Fix: strict modes where offered, refresh logs, and duration alerts.

Snapshot expiration breaking incremental refresh. Warning sign: full refreshes right after maintenance runs. Fix: retain source snapshots longer than the longest refresh interval.

Floating-point drift. Warning sign: incremental sums diverge slightly from a full recompute. Fix: use DECIMAL for measures in views.

Small-file growth in the storage table. Warning sign: query time on the view rises over weeks. Fix: compact the storage table with the engine’s maintenance procedures. Trino lets you run optimize and other procedures on a view and keeps its freshness metadata.

Right-side changes on BigQuery joins. Warning sign: a join view stops refreshing incrementally after dimension updates. Fix: put the frequently appended table on the left, or accept full refreshes for that view.

Revision Policy

I’ll update this matrix when an engine documents new incremental operators, when Glue publishes a full operator list, or when the Iceberg materialized view specification passes. Each revision updates the date at the top.

Changelog

Conclusion

Materialized views only pay off when refresh is cheap, and refresh is only cheap when it’s incremental. Incremental support is uneven. Glue 6.1 and Redshift cover projections, filters, inner joins, and SUM and COUNT. Databricks and Snowflake document much broader coverage, including outer joins and windows, with conditions. BigQuery handles appends well and backs off on deletes and right-side join changes. Trino decides per view based on the definition and snapshot history.

Use the matrix to choose where each view runs, write views inside the shapes your engine maintains, and make fallback visible so it never surprises you on the bill. When the Iceberg view specification lands, the same discipline lets you pick the best refresh engine per view.

For the surrounding concepts, see the Iceberg Views knowledge base entry, the idea of continuous aggregates, and the trade-offs of where to cache in an Iceberg lakehouse.

Keep Going

If this piece was useful, I have written a lot more on lakehouse performance and design. Architecting an Apache Iceberg Lakehouse (Manning) covers views, acceleration, and the trade-offs between them. You can find every book I have written, across lakehouse architecture, Apache Iceberg, Apache Polaris, and AI, at books.alexmerced.com.

Work with Alex