Skip to main content
Vector3Vector3

Medallion architecture

TermData services

Medallion architecture is a way of organising the tables in a lakehouse into successive layers, conventionally named bronze, silver, and gold, so that data lands raw, is cleaned and conformed as it moves through, and is served to reporting and models only from the final, governed layer. In a Vector3 build the same three tiers are the raw, refined, and serving layers of the Delta Lake storage design, and the point of the pattern is that quality improves as data moves through rather than having to be perfect at source.1

A fuller explanation

The pattern is a sequence of three tiers, each with a clear job. Data only moves forward, and each step leaves it cleaner, better described, and more trustworthy than the last.

The layering is possible because the storage underneath is transactional. Delta Lake adds ACID transactions, schema enforcement, and time travel to ordinary cloud object storage, with a transaction log that keeps metadata operations fast on very large tables.1 That foundation is what lets a single copy of the data be trustworthy enough for governed reporting while staying open and economical enough for data science.1

Data-quality checks sit at each stage, with monitoring and alerting on failures, so a failed or malformed load is caught before it reaches a report or retrains a model on bad input. The checks matter more the closer data gets to a model, because a model cannot tell good input from bad and will learn the error.

THREE LAYERS, ONE DIRECTIONQUALITY IMPROVESRaw layer (bronze)Source data lands as it arrives, batch or streaming03Refined layer (silver)Validated, cleaned, conformed to agreed definitions02Serving layer (gold)Governed models that BI, people, and ML read fromGOVERNED
Raw, refined, and serving layers on transactional storage; reports and models read only from the last
  1. 1

    Raw layer (bronze)

    Source data lands as it arrives, batch or streaming, without being fixed at source first. Because even this first layer sits on transactional storage, a failed write rolls back cleanly instead of leaving a half-finished load visible.1

  2. 2

    Refined layer (silver)

    Records are validated and cleaned as they move out of the raw layer and conformed to agreed definitions. Schema enforcement stops malformed records from landing, and where definitions conflict or quality is poor, the conflict is surfaced and resolved as part of the build rather than hidden.1

  3. 3

    Serving layer (gold)

    The final layer holds the governed data models, organised so BI tools and people can read them without a map. They are built as governed Delta tables that Power BI, Tableau, Looker, and other tools read through standard SQL connections, with access and lineage handled centrally in the catalog, so a column-level permission or a lineage trace applies the same way whether the consumer is a query, a dashboard, or a model.2

The same data then serves a finance dashboard and a forecasting model without being copied into separate systems for each. A single governed table can feed a finance dashboard, a regulatory report, an ad-hoc analyst query, and a machine learning model, and that single-copy property is the heart of why the lakehouse changed the default for new platforms.3

Why it matters for mid-market firms

For a mid-market firm the value is that messy data stops being a prerequisite. The usual starting point is a sprawl of sources whose definitions conflict, and around 90% of business data is unstructured and awkward to prepare, so a build that assumes clean inputs is the one that stalls.4 A layered design is built for that reality: raw data lands first and is cleaned as it moves into the refined and serving layers, rather than being fixed at source before anything can begin.

It also keeps every answer traceable. Because the raw records are kept alongside the cleaned, modelled versions and lineage is recorded through each transformation, a question about how a number was produced is answered with a trace rather than a reconstruction.2 For a firm that has to evidence its numbers to an auditor, a regulator, or its own board, that path from raw source to reported figure is what makes the platform trustworthy rather than merely useful.23

The pattern also holds up when AI arrives. Because the tables are versioned and reproducible, a model trained last quarter can be retrained on the same data, which the ACID transactions and time travel of the storage layer make possible, and the same tables still serve BI and reporting, so a company is not maintaining two parallel sets of data for two audiences.1

Report data quality success
Quality improves as data moves through, so the serving layer is the one reports trust

Frequently asked questions

Three. A raw layer where source data lands as it arrives, a refined layer where it is validated, cleaned, and conformed to agreed definitions, and a serving layer holding the governed models that reports and models read from. Quality improves as data moves through, so nothing has to be perfect at source.

See what your data is costing you

Tell us where your reports do not match. Our short audit shows what to fix first and what each fix is worth.

  1. 1Armbrust et al. "Delta Lake: High-Performance ACID Table Storage over Cloud Object Stores." VLDB 2020. vldb.org (opens in a new tab)
  2. 2Databricks Documentation. "What is Unity Catalog?" docs.databricks.com (opens in a new tab)
  3. 3Armbrust, Ghodsi, Xin, Zaharia. "Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics." CIDR 2021. cidrdb.org (opens in a new tab)
  4. 4McKinsey & Company. "Charting a path to the data- and AI-driven enterprise of 2030." 5 Sept 2024. mckinsey.com (opens in a new tab)