If you've ever waited 90 seconds for a Power BI dashboard to load, you've felt the cost of bad warehouse design. The way you model your data — how you split it across tables, how you join it — is the single biggest decision you'll make in any analytics project. In this post we'll compare the two most common warehouse modelling patterns: the star schema and the snowflake schema.
The star schema
A star schema has one central fact table surrounded by several dimension tables. Every dimension joins directly to the fact table. There is no inter-dimension chaining. The shape — when you draw it — looks like a star.
-- fact_sales has the metricsCREATE TABLE fact_sales (sale_id BIGINT,date_id INT REFERENCES dim_date(date_id),customer_id INT REFERENCES dim_customer(customer_id),product_id INT REFERENCES dim_product(product_id),store_id INT REFERENCES dim_store(store_id),quantity INT,revenue NUMERIC(12,2));-- each dimension is a flat, denormalised tableCREATE TABLE dim_product (product_id INT PRIMARY KEY,product_name TEXT,brand TEXT,category TEXT,sub_category TEXT,department TEXT -- redundant on purpose);
Notice that dim_product stores the brand, category, and department all on one row. Yes, that means brand names get duplicated across thousands of products. That's the trade-off — and it's intentional.
The snowflake schema
A snowflake schema starts the same way — fact in the middle, dimensions around it — but each dimension is normalised into multiple tables. Brand sits in its own dim_brand, category in its own dim_category, and so on.
CREATE TABLE dim_product (product_id INT PRIMARY KEY,product_name TEXT,brand_id INT REFERENCES dim_brand(brand_id),category_id INT REFERENCES dim_category(category_id));CREATE TABLE dim_category (category_id INT PRIMARY KEY,category_name TEXT,sub_category_id INT REFERENCES dim_sub_category(sub_category_id));CREATE TABLE dim_sub_category (sub_category_id INT PRIMARY KEY,sub_category_name TEXT,department_id INT REFERENCES dim_department(department_id));-- and so on…
Now to get from a sale to a department name, your query has to walk: fact_sales → dim_product → dim_category → dim_sub_category → dim_department. Five joins. Even though the data is cleaner.
Side-by-side comparison
- Storage. Snowflake wins — no duplication. But disk is cheap. This rarely tips the decision.
- Query speed. Star wins — fewer joins, faster scans. Critical at BI-tool speed.
- Maintenance. Snowflake wins — change a brand name in one place. Star duplicates the change everywhere.
- Analyst usability. Star wins — fewer tables to learn, fewer joins to remember.
- ETL complexity. Star wins — fewer surrogate keys to manage during loads.
How to choose
A simple decision framework we use at Albero when reviewing student projects:
- Pick star if BI dashboards are the primary consumer (90% of cases).
- Pick snowflake if you have very large dimensions (>50M rows) or strict regulatory requirements that demand a single source of truth per attribute.
- For mixed needs, build a star schema in your gold layer and keep the snowflaked source available in the silver layer.
Key takeaways
- 01Star schema: one fact table, flat denormalised dimensions, faster queries, easier for analysts.
- 02Snowflake schema: same fact, but dimensions normalised into multiple tables — cleaner data, more joins.
- 03Modern columnar warehouses make star the default choice for analytics in 2026.
- 04Reach for snowflake only when you have very large dimensions or strict consistency requirements.
- 05A practical pattern: snowflake in your silver layer, star in your gold/serving layer.


