Medallion architecture is a way of organizing a data warehouse or lakehouse into three layers, named bronze, silver and gold, where each layer is cleaner and closer to business use than the one before. Databricks documents it as a design pattern, and Microsoft recommends the same pattern for Fabric. This answer explains what goes in each layer, what bronze, silver and gold look like for a Shopify or DTC brand's marketing data, the rules that keep the layers useful, how the pattern maps to dbt projects, and whether a smaller brand needs it at all. It is from Brand Media Works, an AI consulting and marketing data engineering firm for ecommerce brands. Facts are from Databricks, Microsoft and dbt Labs documentation, read on 13 November 2026.

What is medallion architecture?

Databricks defines it as "a series of data layers that denote the quality of data stored in the lakehouse." Its documentation describes the three layers as bronze (raw), silver (validated) and gold (enriched), and notes that "Medallion architectures are sometimes also referred to as multi-hop architectures."

Microsoft's Fabric documentation gives the plainest summary of each layer:

  • Bronze: "Store everything exactly as it arrives. No changes are allowed."
  • Silver: "Fix errors, standardize formats, and remove duplicates."
  • Gold: "Organize for reports and dashboards."

Microsoft says the pattern is "the recommended design approach for Fabric." Databricks is more relaxed: "Following the medallion architecture is a recommended best practice but not a requirement."

Bronze, silver and gold for ecommerce marketing data

Microsoft's documentation includes an ecommerce example. In its silver layer the company standardizes dates, converts "all currency to USD," removes "test transactions" and matches "customer records across systems." In gold it builds a daily sales table, an inventory forecast and a "customer lifetime value table." Here is how the same pattern looks for a typical Shopify brand's marketing data (our example):

LayerWhat it holdsShopify brand exampleWho uses it
BronzeRaw data exactly as each source sent it, with full historyShopify orders and refunds, Meta, Google and TikTok ad reports, Klaviyo events, as loaded by your connectorData pipelines only
SilverCleaned, deduplicated, one row per real recordOne row per order net of refunds and cancellations, test orders removed, one time zone and one currency, ad spend by day, channel and campaign, customers matched across Shopify, Klaviyo and AmazonAnalysts and data engineers
GoldTables shaped for decisionsDaily sales, spend and MER by channel, new versus returning customers, cohort LTV, contribution margin by productFounders, marketers, finance and dashboards

The point of the split is that every gold table reads from the same silver orders. When finance and marketing both look at net sales, they are looking at one cleaned version of each order, not two different exports.

The rules that keep each layer useful

Databricks' documentation sets out several rules worth copying, whatever your platform:

  • Bronze is not for analysts. It "Is intended for consumption by workloads that enrich data for silver tables, not for access by analysts and data scientists."
  • Bronze keeps everything. It "Enables reprocessing and auditing by retaining all historical data." If a silver rule was wrong, you rebuild silver from bronze instead of reloading from Shopify.
  • Bronze stays loose. Databricks recommends storing most fields as text or flexible types "to protect against unexpected schema changes," so a new field from an ad platform does not break the load.
  • Silver is built from bronze, not straight from the source. "Databricks does not recommend writing to silver tables directly from ingestion."
  • Silver keeps the detail. It "Should always include at least one validated, non-aggregated representation of each record." For a brand, that means order-level and line-level tables, not only daily totals.
  • Gold is small. Databricks' example gold layer "contains fewer datasets than silver and bronze." Some companies "create multiple gold layers to meet different business needs," for example one for marketing and one for finance.

Book a discovery call

Medallion architecture vs dbt staging, intermediate and marts

Many brands on BigQuery or Snowflake already have the same idea under different names. dbt Labs' project guide describes "a cohesive arc moving data from source-conformed to business-conformed," and explains the difference: "Source-conformed data is shaped by external systems out of our control, while business-conformed data is shaped by the needs, concepts, and definitions we create." The layers line up roughly like this (our mapping):

Medallion layerTypical dbt layerShaped by
BronzeRaw source tables loaded by the connectorThe source system
SilverStaging and intermediate modelsCleaning and matching rules
GoldMartsBusiness definitions

Both patterns aim for the same thing dbt states directly: layering transformations so that "we can apply each transformation in only one place." If refunds are netted in silver, every gold table gets net sales right without repeating the logic.

Does a small ecommerce brand need medallion architecture?

Our view: you need the separation, not the vocabulary. A brand with one Shopify store, three ad platforms and an email tool can follow the pattern with three schemas in BigQuery or Snowflake named raw, clean and reporting. The connector already lands raw data. What most small setups miss is the middle layer, so each dashboard cleans the data its own way.

Signs you need the layers now:

  • Revenue in two dashboards does not match, and nobody can say why.
  • Refunds, test orders or currency conversions are handled inside dashboard formulas.
  • Fixing one metric means editing several reports.
  • You want an AI assistant or a semantic layer to read your data, and it needs clean, consistent tables to read from.

Gold is also where metric definitions start to matter. Our answer on what a semantic layer is covers how to define each metric once on top of gold tables, our guide to the marketing data warehouse covers the platform underneath, and our answer on customer lifetime value shows one gold table in detail. Brand Media Works builds this kind of layered model on a brand's own warehouse as part of its marketing data engineering work.

Frequently asked questions

What is medallion architecture in simple terms?

It is a way of storing data in three stages. Bronze keeps raw data as it arrived, silver cleans and matches it, and gold shapes it for reports. Each stage reads only from the one before it.

Why is it called bronze, silver and gold?

The names describe data quality, from raw to most refined, like medals. Databricks' documentation says the terms "describe the quality of the data in each of these layers."

Is medallion architecture only for Databricks?

No. It is a design pattern, so it works on any warehouse or lakehouse, including BigQuery, Snowflake and Microsoft Fabric. Microsoft recommends it as the default design for Fabric.

Should analysts or dashboards read from bronze?

No. Databricks says bronze is not intended for analysts. Dashboards should read from gold, and analysts who need detail should use silver.

How many layers should I have?

Three is the standard. Some teams add a layer inside silver for intermediate steps, or keep more than one gold layer for different teams. What matters is that each transformation happens in one place.