When a data platform starts to grow, the same question always comes up: where does this get cleaned? If every report cleans the data its own way, you end up with three different figures for the same metric. The medallion architecture answers that question with a simple idea: organise data into three layers and improve its quality at each step.

Bronze: data as it arrives

This is where you store what each source delivers, untouched: the original file, event or table, with the load date and where it came from. It may look of little use, but it is your source of truth: if tomorrow you find a bug in a transformation, you can reprocess from bronze without asking the source system for the data again. It is also what lets you audit what arrived and when.

Silver: clean and validated

Silver is built by reading from bronze. Here you remove duplicates, standardise formats (dates, currencies, codes), discard or flag records that fail validation and match entities coming from several sources. The result is reliable data, still at record level, ready for analysts and data scientists.

Gold: ready for the business

Gold holds tables designed for a specific question: sales per day and store, active customers per month, the feature table a model needs. They are aggregated, use names the business understands and have the metrics already calculated. This is what feeds dashboards, reports and AI use cases.

Why it works

  • Every transformation has a home. If a figure is wrong, you know which layer to look in.
  • You can reprocess. Because bronze keeps the original, fixing a bug does not mean reloading everything from the source.
  • Each user picks their level. Whoever is investigating goes to silver; whoever checks a KPI goes to gold.

When you have too many layers

The medallion architecture is a recommended practice, not a rule. If you have few sources, simple data and a single team, three layers can mean more maintenance than benefit. In that case, starting with two (raw and ready to use) and adding the middle one when volume or teams demand it is a sensible decision.

What matters is not the layer names but the underlying rule: the original data is never modified, and every cleaning step lives in a known place.

A question for your platform

Which layer does your data get dirty in? If the answer is “in the dashboard”, that is a good sign you are missing a silver layer.