Stage 2 · Lesson 6 of 9
Star and snowflake schemas
A puts one fact table in the middle, with around it like the points of a star. Each dimension is , meaning its details sit in one wide table, and it joins to the fact table by a single key. Star schemas are easy to query and fast in columnar warehouses.
A snowflake schema splits dimensions further. For example, product links to a separate category table. That saves a little storage but adds joins.
Most modern teams prefer stars. Some go further and build wide, pre-joined tables for dashboards. Join facts to dimensions with .
These are meaningless numbers or hashes that the warehouse creates. Avoid joining on the 's own IDs, because they can change or clash between systems.
Common trapcopying the application's normalised schema into the warehouse and calling it a model.
A question to check yourself, an AI practice session and 2 cheat sheet entries come with the full roadmap. Unlock
Resources for this stage
Start with
- CourseFreeSQL Tutorial for Data Analysis (formerly Mode)
ThoughtSpot · Beginner
Its advanced section covers window functions, performance tuning and pivoting on realistic data
Practise
Keep handy
Also worth your time
Star and snowflake schemas, facts and dimensions, and the steps of a warehouse design in one read