Glossary · Data architecture
What is data product?
A data product is a dataset or set of tables published for others to use, with a named owner, documentation, quality and freshness promises and a stable interface. It is managed like a product: it has consumers, a lifecycle and a cost, not just a pipeline behind it.
What makes something a data product
The idea comes from data mesh, where Zhamak Dehghani described data products as discoverable, addressable, trustworthy, self-describing, interoperable and secure. In practice a data product has:
- An owner who answers questions and fixes problems.
- A defined interface: the tables or views consumers may query, with column descriptions. Internal tables stay private.
- Promises: freshness (SLA), completeness and quality checks, and a policy for breaking changes, often written as a data contract.
- Discoverability: an entry in a catalog with business context.
- Access rules: who may read what, including masked or filtered columns and rows.
- A cost and a usage record, so the owner can tell whether it pays for itself.
Data products on BigQuery
A common layout is one dataset per product, holding the published tables and views, with the models that build it living elsewhere. Authorized views or datasets expose only the interface; BigQuery sharing (formerly Analytics Hub) can publish it to other projects or organizations without copying data. Knowledge Catalog (formerly Dataplex Universal Catalog) can package tables with ownership details, SLAs, contracts and usage notes into governed units that consumers find and subscribe to.
Usage is visible in job metadata. This query lists who read a product's tables in the last 30 days:
SELECT
j.user_email,
COUNT(DISTINCT j.job_id) AS read_queries,
MAX(j.creation_time) AS last_read
FROM `region-us`.INFORMATION_SCHEMA.JOBS_BY_ORGANIZATION AS j,
UNNEST(j.referenced_tables) AS t
WHERE j.creation_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 30 DAY)
AND t.dataset_id = 'sales_mart'
AND j.destination_table.dataset_id IS DISTINCT FROM 'sales_mart'
GROUP BY j.user_email
ORDER BY read_queries DESC;
Service accounts in the result usually map to BI tools or downstream pipelines; people map to teams. The filter on destination_table drops the product's own build jobs. Combine this with build and storage cost to get the product's unit cost.
Common pitfalls
- Calling every table a product. Products need owners and promises; most tables don't deserve that overhead.
- No consumer feedback. A product nobody reads is a dead-end table with a nicer name.
- Interfaces that leak internals. If consumers query staging tables directly, you can't change anything without breaking them.
- Invisible cost. Shared upstream models make product cost hard to see; decide how to split them before comparing products.
Masthead lets teams define data products in BigQuery and tracks each product's unit cost and usage (data products).
FAQ
Is every table a data product?
No. Staging and intermediate tables are implementation details. A data product is what you deliberately publish for consumers, with an owner and promises about quality and change, often a small set of tables or views over many internal ones.
What is the difference between a data product and a data contract?
The data product is the thing consumers use. A data contract is the agreement that describes its interface: schema, semantics, quality checks, freshness and how changes are announced.
How do I measure whether a data product is worth keeping?
Compare its cost (build compute, storage, serving) with its usage (read queries, distinct readers, dashboards that depend on it). A product with rising cost and falling usage is a candidate to simplify or retire.
