internalsGet Pro

Module 05 · Lesson 1 of 12Pro

Why data modeling matters for analytics

Level
Beginner
Topic
Data modeling for analytics
Reading time
13 min

When you finish this page you can

  1. Explain why correct queries over the same raw tables can give different numbers.
  2. Describe what a data model adds to raw tables: what one row means, how tables connect, and business rules applied once.
  3. Count what it costs to repeat business rules in every query, and what one change to a rule costs with and without a model.
  4. Decide when querying raw tables is enough and when a shared model is worth building.
  1. Operational vs analytical data: two different jobs13 min
  2. Design: a first analytics pipeline for an online store30 min
  3. Join pitfalls: duplicated and missing rows16 min

Three revenue numbers for one Monday

It’s 10:00 on Wednesday 11 November at , an online store in India. Every night, Meera, a data engineer, loads the day’s orders, payments and about 10 million click events from the store’s PostgreSQL into on one 8 GB server. Analysts, marketing and finance all query what she loads.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan