Request a demo

Glossary · Data architecture

What is data mesh?

Data mesh is a decentralized approach to analytical data in which business domains own and publish their data as products, on a shared self-serve platform, under governance rules that are automated and agreed across domains, instead of one central team owning every pipeline.

Also called: data mesh architecture, domain-oriented data ownership, decentralized data architecture

The four principles

Zhamak Dehghani introduced data mesh in 2019 and later framed it as four principles:

  • Domain ownership. The teams closest to the data (orders, payments, marketing) own its analytical version too, including pipelines, quality and support.
  • Data as a product. Each domain publishes data products with an owner, documentation, quality promises and a stable interface, built for consumers rather than as pipeline byproducts.
  • Self-serve data platform. A platform team provides the shared infrastructure (storage, compute, orchestration, catalog, access control, monitoring) so domains don't each build their own.
  • Federated computational governance. Domains and a central group agree on global rules, such as naming, classification of personal data, interoperability and retention, and the platform enforces them automatically.

Why teams adopt it

A central data team that ingests, models and serves everything becomes a queue. Domain experts can't change the tables that describe their own business, and the central team doesn't know the business well enough to judge whether data is right. Data mesh moves ownership to the people who understand the data, and keeps the platform and the rules shared so the result doesn't fragment into silos.

Data mesh on Google Cloud

BigQuery fits the model because storage and compute are separate and cross-project queries need no copies:

  • Domains as projects. Each domain gets its own projects and datasets, with IAM at project, dataset and table level. Queries are billed to the project that runs them, so consumption costs land with the consumer.
  • Publishing. Authorized views and datasets expose a curated interface. BigQuery sharing (formerly Analytics Hub) publishes datasets as listings in exchanges that other projects or organizations subscribe to without copying data.
  • Discovery and governance. Knowledge Catalog (formerly Dataplex Universal Catalog) indexes BigQuery and other sources, holds business glossaries and custom metadata, runs data quality and profiling scans, shows lineage, and can package assets as governed data products. See data catalog and data governance.
  • Security. Policy tags, data masking and row-level security let a domain share a table while protecting parts of it.

Common pitfalls

  • Renaming teams, not changing ownership. If the central team still fixes every broken table, nothing changed.
  • No product standards. Without agreed metadata, data contracts and quality checks, a mesh becomes many inconsistent marts.
  • Unowned costs. Decentralized teams create decentralized spend. Attribute compute and storage per domain and per product from the start, and track unit cost so a popular product is judged against the value it delivers.
  • Starting with the whole company. Start with one or two domains and a few data products, then grow the platform from what they teach you.

FAQ

Is data mesh a technology I can buy?

No. Data mesh is an organizational and architectural approach. Tools help with parts of it, such as a catalog, access control or data sharing, but the core change is who owns data and how it is published.

What is the difference between data mesh and data fabric?

Data mesh is mainly about ownership: domains own and publish data products. Data fabric is mainly about technology: a metadata-driven integration layer that connects data across systems. An organization can use fabric-style tooling to run a mesh.

Do I need data mesh?

Usually only when a central data team has become the bottleneck: many domains, a long backlog of requests, and nobody but the central team able to fix or explain a table. Small teams with one warehouse rarely benefit from the overhead.

Read next

Browse the full glossary

Observability for every BigQuery table, in about 15 minutes

Masthead detects freshness, volume and schema anomalies, monitors pipeline errors and maps column-level lineage across all your projects, from logs and metadata only.