learn-data-warehouse-with-phoebe / Leader session 2 of 6
Learn Data Warehouse with Phoebe · Leader track · Session 2 of 6

The shape of a warehouse

Last session you learned why Daybreak needs a warehouse. Today you learn what one looks like inside - because "it is a big database in the cloud" is not a picture you can question. Good news: every warehouse on earth has the same anatomy, and it maps perfectly onto something you already understand - a factory. Walk one order through the building and you own the mental model for good.

🔵 Leader track Leaders: CxO · VPs · managers No code - thinking mode 45 min
0-3 · Welcome 3-20 · Three layers 20-42 · Star schema + who does what 42-45 · Q&A
Part 0

Where we are

Session a1 established the why: analytics and app traffic want opposite machines, so we build a governed copy. Today is the what: the copy is not one big pile - it is three deliberate layers, and inside the middle layer the data is arranged in a shape with a lovely name, the star schema. By the end you will be able to look at any warehouse architecture slide a vendor or your own team shows you and know exactly which box is which - and which questions to aim where.

Live - discussed in session Self-study - read after Boardroom moment - a story to retell Official sources covered
★ What you walk out with today The three-layer factory picture (receiving dock, assembly floor, shipping dock), a plain-English grip on facts and dimensions - the two words your data team says most - and a clean answer to the question every executive eventually asks: "why are we keeping three copies of the same data?"
Part 1 · covers IBM DW Fundamentals M2 architectures, 365DS Architecture & design

Three layers, one factory 17 min live

Raw materials do not go straight from the delivery truck to the customer - they get received and inspected, then assembled, then packed for shipping. Data in a warehouse makes exactly the same journey: staging receives and checks it, core assembles it into modeled shapes, and marts package it per team. Follow one Daybreak order through the building.

1 · Staging - receiving dock typed, checked copies nothing invented yet - source data, made honest "2026-06-14" is now a real date, not a piece of text 2 · Core - assembly floor facts + dimensions the modeled truth - one shape, every team order 1017 becomes a fact row linked to nouns 3 · Marts - shipping dock per-team slices finance: revenue, ready marketing: cohorts, ready order 1017 now sits inside June revenue, pre-shaped One order's journey: arrives messy from the app → checked & typed → modeled as a fact → served in a finance slice Each layer adds one thing: staging adds TRUST, core adds SHAPE, marts add CONVENIENCE.
🔍 Click to zoom - receiving dock, assembly floor, shipping dock: one order through the factory
LiveStaging: the receiving dock5 min

Nothing clever happens here, on purpose. Staging is a faithful, typed and checked copy of what the source systems sent: dates become real dates, numbers become real numbers, obviously broken rows get flagged at the door. Daybreak's app stores order dates as text - fine for the app, poison for month-by-month analysis - and staging is where that quietly gets fixed.

  • Why leaders should care: staging is your quality gate. When a source system changes something upstream, staging is where it gets caught - before it reaches a board number.
  • The discipline: no business logic here. Staging makes data honest, not meaningful. Mixing the two is how untraceable numbers are born.
  • What to ask your team: "What happens when a source sends garbage?" A good answer names staging checks. A worrying answer is "we usually notice."
LiveCore: the assembly floor5 min

The core is where checked parts become products: data gets modeled - deliberately arranged so business questions become easy. This is where facts and dimensions live (Part 2), where history gets kept, and where "one version of the truth" is either built or lost. It is the most engineered layer and the one your data engineers will spend most of their time on.

  • One shape, every team: the core is shared. Finance and marketing read the same modeled orders - which is what makes their numbers reconcilable at all.
  • The core remembers: when a customer upgrades plans, the app forgets the old plan; the core keeps it. That memory is what cohort and trend analysis stand on.
The meeting-ready version "Staging is what the sources said. Core is what the business means. Marts are what each team needs."
Self-studyMarts: the shipping dock3 min read

A mart is a slice of the core, pre-shaped for one audience: the finance mart has revenue with refunds already handled the finance way; the marketing mart has cohorts and channels ready to chart. Marts exist for speed and sanity - analysts should not re-derive revenue from raw parts every Monday.

  • The rule that keeps marts safe: marts are built FROM the core, never from raw sources. A mart with its own private pipeline is a second version of the truth in the making.
  • Marts are cheap to rebuild: if a mart is wrong, you regenerate it from the core. That disposability is a feature - the core is the asset, marts are packaging.
Part 2 · covers DLAI Data Engineering C4 M1 star schema, Kimball modeling school

The star schema, in plain words 12 min live

Inside the core, data is arranged in a shape so useful it has dominated the field for thirty years. Facts are events with numbers attached - an order line: 2 bags, $41. Dimensions are the nouns that give the event meaning - which customer, which product, which day. Put the fact in the middle, the nouns around it, and you have a star.

dim_customer who: name, city, plan one row per customer dim_product what: name, roast, price one row per product fct_order_line the event: qty · amount + keys to the three nouns dim_date when: day, month, quarter facts = verbs with numbers (something happened) dimensions = the nouns (who, what, when, where) "Revenue by month by city" = the fact joined to two nouns. One obvious join - that is the point.
🔍 Click to zoom - one fact in the middle, three nouns around it: Daybreak's first star
LiveWhy stars make questions cheap4 min

The app database scatters an order across half a dozen tables - great for taking orders, miserable for asking about them. The star collapses that: every business question becomes "take the fact, join the nouns you care about, summarize". Revenue by month? Fact + date. By city? Add customer. By roast? Add product. Analysts stop solving puzzles and start answering questions.

  • Predictability is the gift: a new analyst can find their way around a star on day one. That is onboarding speed you can feel in salaries.
  • Dashboards get faster too: BI tools are built assuming this shape. Fight the shape, fight the tools.
  • The executive translation: "we model so that questions become one obvious join." That single sentence is Part 2.
Self-studyKimball vs Inmon - the two schools, name-dropped3 min read

If your data team debates modeling, two surnames will fly: Ralph Kimball (start with business questions, build stars, deliver value fast) and Bill Inmon (build a rigorous enterprise-wide model first, derive everything from it). Both schools are decades old and both work; most modern teams land Kimball-flavored, which is why this course teaches stars.

  • You do not need to referee this debate. You need to know it is a style choice, not a correctness fight.
  • The question that cuts through: "Which business question does this model make cheap?" Any modeling choice that cannot answer that is architecture for its own sake.
  • Depth for the curious: your builders cover both schools properly in their session b3.
Part 3 · the org chart of the factory

Who does what 10 min live

Architecture slides never show the people, but the layers map to roles as cleanly as the factory maps to floors - and knowing the mapping tells you exactly who to ask when something looks wrong.

LiveThe three-role mapping5 min

The clean division of labor in a healthy data team:

  • Data engineers own staging + core: the pipelines, the checks, the modeled star. When a number is missing or late, this is the desk.
  • Analysts own the marts: shaping team-specific slices and the dashboards on top. When a chart looks off, start here - it is usually the fastest fix.
  • The business owns definitions: what counts as "revenue", "active", "churned" is a leadership decision wearing a technical costume. Delegating it to whoever writes the query is how metric wars start.
The handshake, previewed Business defines the metric, engineering encodes it once in the core, analysts reuse it everywhere. Session a3 is entirely about what happens when this handshake is missing - and how to install it.
Live"Why are we keeping three copies of the same data?"5 min

The question every exec eventually asks in an architecture review - and a fair one, because the slide really does show the same orders in staging, core, and a mart. The layered answer is worth rehearsing before you need it.

  • They are not copies, they are stages: what the sources said, what the business means, what each team needs. A factory holds raw stock, assemblies, and packed goods too - nobody calls that waste.
  • Each layer catches different failures: staging catches bad source data, core catches inconsistent logic, marts contain the blast radius of a team-specific mistake.
  • Storage is the cheap part (a1's lesson): three well-governed stages cost pennies. One ungoverned pile costs executive hours every month.
Real world

Boardroom moment. Daybreak's COO asked exactly this, mid-review, slightly annoyed. The data lead pointed at the factory slide: "Would you ask the warehouse manager why beans, roasted batches, and packed subscriptions sit on different shelves?" Laughter, then silence, then "carry on". The metaphor did in ten seconds what the architecture diagram could not do in ten minutes.

Self-studySpotting an unhealthy division of labor3 min read

Three smells that the roles have drifted, each visible from the executive floor:

  • Analysts building private pipelines from raw sources - the marts have detached from the core, and divergent numbers are weeks away.
  • Engineers deciding metric definitions alone - the business abdicated; expect a definition you disagree with, discovered in a board meeting.
  • Every question routed to one heroic person - not a role problem, a bus-factor problem. The factory should outlive any single worker.
Homework

Before next session ◐ 20-30 min total

Source material

Official sources covered

This session distills the architecture and modeling chapters of the major curricula into the boardroom view. This page covers:

IBM Data Warehouse Fundamentals (Coursera) - Module 2: architectures and layersPart 1 · staging/core/marts as the factory
365DS Intro to Data Warehousing - Architecture & designParts 1 + 3 · layers and the roles around them
DeepLearning.AI Data Engineering C4 (Joe Reis) - M1: star schema & dimensional modelingPart 2 · facts and dimensions in exec terms; builders go deep in b3-b4
Check yourself

Three questions before you go 🎯 ◐ 90 seconds

1 · In the factory picture, what does each layer add?

Receiving dock checks and types the data (trust), the assembly floor models it into facts and dimensions (shape), the shipping dock packages per-team slices (convenience).

2 · "Revenue by month by city" in a star schema is...

Facts are events with numbers, dimensions are the nouns. Any "metric by noun by noun" question is the fact plus the relevant dimensions - which is exactly why the shape exists.

3 · Who should own the definition of "active customer"?

Definitions are business decisions wearing technical costumes. Business defines, engineering encodes once, analysts reuse - break that handshake and session a3's metric wars begin.

Leader session 2 cheat sheet · pin this

Three layersStaging (receiving dock) → core (assembly floor) → marts (shipping dock). Every warehouse, every vendor.
StagingTyped, checked copies of the sources. Adds TRUST. No business logic allowed here.
CoreThe modeled, shared truth - facts + dimensions, history kept. Adds SHAPE. The real asset.
MartsPer-team slices built FROM the core. Add CONVENIENCE. Disposable packaging, cheap to rebuild.
FactAn event with numbers - an order line: qty, amount. The verbs of the business.
DimensionThe nouns that give events meaning - customer, product, date. Who, what, when, where.
Star schemaFact in the middle, nouns around it. "We model so questions become one obvious join."
Who does whatEngineers: staging + core. Analysts: marts. Business: definitions. Never delegate the third.