Menu

Course · Data platforms

Data modeling for Data Engineers

Free data modeling and data warehouse course: star schemas, grain, facts and dimensions, SCD Type 2, Data Vault, incremental models and interview questions.

Lessons
15
Interview questions
9
Projects & case studies
13
Reading time
~4 h

Your progress

Saved in this browser only

Course structure

Practise

Lessons

Work through the lessons in order. Completed lessons show a tick; lessons you have opened are outlined.

Start here

The complete overview of the course in one read.

  1. Data Warehousing for Data EngineersWhat a data warehouse is and how its architecture works: where it sits in a data platform, dimensional modelling, grain, facts and dimensions, SCDs and ELT.Beginner12 min

Beginner

Core concepts you will use every day.

  1. OLTP vs OLAP: Differences, Examples and How Data Moves Between ThemOLTP vs OLAP and data warehouse vs database, explained with one shop's data: what each is for, how queries, schemas and storage differ, and how data moves.Beginner10 min
  2. Conceptual, Logical and Physical Data Models ExplainedThe three levels of data modelling with one worked example: a conceptual model in plain words, a logical model with keys, and physical PostgreSQL DDL.Beginner8 min
  3. ER Diagrams Explained: Entities, Attributes, Relationships and CardinalityHow to read and draw an ER diagram: entities, attribute types, keys, cardinality, weak entities and notations, with a library example turned into SQL tables.Beginner9 min
  4. Data Warehouse Architecture: Layers, Tiers and Modern DesignsData warehouse architecture explained: source, staging, core and mart layers, the classic three tiers, Kimball vs Inmon, and modern cloud and lakehouse designs.Beginner7 min
  5. Star, Snowflake and Galaxy Schemas and the GrainBuild a star schema for an online shop, declare the grain, snowflake a dimension, and query a galaxy of fact tables without double counting. Verified SQL.Beginner19 min
  6. Normalization, Denormalization and Wide TablesNormalise a messy orders extract step by step to 1NF, 2NF, 3NF and BCNF, then learn when to denormalise into stars or One Big Table, with verified SQL.Beginner17 min
  7. Data Lake vs Data Warehouse vs LakehouseData lake vs lakehouse vs data warehouse: a lakehouse adds ACID tables to lake files. Compare storage, schema, transactions, cost and users, then choose.Beginner11 min

Intermediate

Patterns used in production pipelines.

  1. Fact Tables: Measures, Snapshots and Late-Arriving FactsDesign fact tables that sum correctly: additive and semi-additive measures, transaction, periodic and accumulating snapshots, factless facts and late data.Intermediate24 min
  2. Dimension Tables: Keys, Conformed, Junk, Degenerate and Role-Playing DimensionsDimension table design: surrogate and natural keys, conformed, degenerate, junk and role-playing dimensions, and inferred members for late-arriving data.Intermediate23 min
  3. Slowly Changing Dimensions: Types 0 to 6Every SCD type from 0 to 6 with rerunnable PostgreSQL loads: overwrite with MERGE, Type 2 versioning, point-in-time joins, mini-dimensions and hybrid Type 6.Intermediate29 min
  4. Partitioning, Clustering and Data LayoutHow partitioning and clustering let warehouses and lakehouses skip data, how to choose keys, and why too many small partitions or files make queries slower.Intermediate12 min

Advanced

Performance, internals and edge cases.

  1. Bridge Tables, Many-to-Many Relationships and HierarchiesModel many-to-many relationships with weighted bridge tables, and fixed or ragged hierarchies with recursive SQL and closure tables, without double counting.Advanced19 min
  2. Data Modeling Methodologies: Kimball, Inmon, Data Vault, Anchor and MedallionCompare Kimball, Inmon, Data Vault 2.0, Anchor modelling, medallion layers and Activity Schema with working tables for one shop, and learn when each fits.Advanced28 min
  3. Modern Data Modeling: Streaming Models, Semantic Layers and dbtModel streaming data, define metrics once in a semantic layer, structure a dbt project and build incremental models that are safe to rerun, with verified SQL.Advanced27 min

Projects and case studies

Apply what you learned and prepare material to discuss in interviews.

Projects

System design case studies

Resources

Related courses

Plan your learning

Search
Filter by type