Data mesh adoption has accelerated across enterprises in 2025–26, driven by organizational needs to decentralize ownership and scale analytical product delivery. But once domains publish their data, engineering teams face a recurring architectural choice: run federated SQL across domain stores (query federation) or build materialized cross‑domain views (periodic or streaming materializations). The choice affects query latency, freshness, cloud costs, operational complexity, and clear lines of ownership. This analysis breaks down the trade‑offs, quantifies practical impacts from field patterns, and proposes a decision framework for data and analytics engineers.
What we mean by the two approaches
Brief definitions to align terms:
- Federated SQL (query federation) — A central query engine (Trino/Presto, Dremio, Starburst, or cloud provider offerings) pushes SQL to multiple domain data stores at query time and combines results without persistent, cross‑domain materialization.
- Materialized cross‑domain views — Cross‑domain joins and aggregates are precomputed and stored in a shared location (warehouse tables, materialized views, or streaming materializations such as incremental tables), refreshed on a schedule or continuously.
Why this choice matters now (2026 context)
Three market and technical shifts make this decision consequential in 2026:
- Cloud providers and multi‑cloud architectures push more data across regions and accounts, raising variable egress and interconnect costs when queries touch remote sources.
- Query engines have improved connector and pushdown capabilities (Trino/Starburst, Dremio reflections, and commercial query federation), reducing some overhead but not eliminating network and coordination latency.
- Organizations demand stricter SLAs for analytics products. Business consumers increasingly expect subsecond to single‑second interactive queries, not batch jobs.
Key trade‑offs, with practical numbers
Below are the dimensions teams must balance, with representative magnitudes drawn from practitioner patterns and vendor benchmarks in 2025–26.
Latency and user experience
- Federated queries: often add remote fetch latency and coordination overhead. For a single remote table scan over a few GB, observed median latency ranges from ~200–800 ms when connectors and pushdown are good; complex multi‑domain joins often push into seconds (1–5s), hurting interactive use.
- Materialized views: shift work offline. A well‑indexed materialized table can return queries in 10–200 ms, making subsecond dashboards feasible even at high concurrency.
Freshness and data SLAs
- Federation provides the freshest data by querying source stores live. For use cases that require real‑time or near‑real‑time (seconds to low minutes) freshness, federation can be advantageous if source stores support fast reads.
- Materialized views introduce a freshness lag determined by refresh frequency. Streaming incremental materializations (change‑data‑capture or stream processing) can reduce lag to seconds, but add operational complexity.
Cost (compute + network + storage)
- Compute: federation charges query compute across multiple clusters; costs scale with each remote scan and are harder to amortize. Materialization concentrates compute in refresh jobs that can be scheduled and optimized.
- Network/egress: federated queries often read raw data across account/region boundaries. Depending on cloud topology, cross‑account and inter‑region reads can incur material costs or add latency; materializations localize reads and shift bulk transfer to scheduled windows where you can optimize egress (use peering, lower‑cost windows, or compression).
- Storage: materialized views increase storage footprint. In many analyses, storage is cheaper than repeated compute and egress over time, especially at scale.
Operational complexity & ownership
- Federation reduces the need for cross‑domain ETL jobs but requires robust connector reliability, query timeout tuning, and cross‑domain schema stability. Failures propagate to consumers at query time, complicating SLAs.
- Materializations create explicit dependencies: ownership of the materialized product, refresh pipelines, monitoring, and contract enforcement. That clarity can simplify consumer SLAs at the cost of coordination and CI/CD for pipeline code.
Practical patterns seen in 2026 deployments
From interviews and production notes across financial services, retail, and SaaS firms, three practical patterns emerge:
- Hybrid default — Many teams use federation for ad‑hoc exploration and troubleshooting, but commit to materialized views for production dashboards and ML features. This balances development velocity with user facing SLAs.
- Domain-first contract materialization — Domains publish “source of truth” slices (e.g., customer profile table, canonical events stream) that are small, well-indexed, and query‑friendly; federated queries read those, reducing remote scans and simplifying federation overhead.
- Cost‑aware scheduling — Teams schedule heavy materializations during off‑peak hours or use spot/ephemeral compute to lower refresh costs, then rely on low‑latency caches for daytime queries.
Decision framework: five questions to pick an approach
Use this checklist when evaluating a cross‑domain requirement:
- What freshness SLA does the consumer need? (Realtime/seconds vs minutes vs hours)
- What interactive latency is acceptable? (subsecond, 1–3s, >3s)
- How large and how frequently accessed are the join inputs? (small hot tables vs multi‑TB cold scans)
- What is the cloud and network topology? Will federation incur egress/interconnect costs?
- Who owns the product view and can commit to monitoring and CI for materializations?
If freshness tolerance is high and query volume is low, federation often wins. If low latency and high concurrent queries are required, precompute.
Implementation recommendations and guardrails
- Start with a hybrid pattern: allow exploration via Trino/Dremio federation but require a materialized view for any dashboard or API used by >5 users or >50 queries/day.
- Define data contracts for published domain datasets: row formats, partitioning strategy, and sample query performance. Contracts reduce brittle federated queries that depend on unstable schemas.
- Instrument costs and latency per query path. Track per-query remote scan GB and compute seconds to identify federation hotspots that should be materialized.
- Use incremental materializations and compacted storage formats (Parquet/ORC with Iceberg/Delta) to minimize refresh window and storage overhead.
- Automate ownership and SLOs via CI and GitOps: schema changes that break consumers must trigger review workflows and test suites that run against materialized test views.
Tooling considerations
Choose tools that reduce the friction of whichever approach you adopt:
- For federation: pick engines with mature connectors and predicate pushdown (Trino + Starburst is a common enterprise choice; Dremio offers reflections that reduce federation overhead).
- For materializations: adopt orchestration that supports incremental refresh (dbt with incremental models, Flink/Beam for streaming updates, or managed streaming materialization services) and storage formats that support atomic swaps (Iceberg/Delta).
- Monitoring: capture lineage and per‑query cost metrics; integrate with APM to correlate business SLA incidents with query patterns.
Bottom line
There is no one‑size‑fits‑all. In 2026, pragmatic architectures lean hybrid: federated SQL for exploration and low‑rate queries; materialized cross‑domain views for production dashboards, APIs, and ML features that require consistent latency and cost predictability. The right decision starts with SLOs, then maps to costs, ownership, and tooling. Data engineers should codify that decision process into team playbooks so that cross‑domain analytics scale without surprising bills or broken dashboards.