Star and Snowflake Schema in Data Warehouse With Model Examples
Star and Snowflake Schema in Data Warehouse With Model Examples
Topic
What is a Star Schema?
What is a Snowflake Schema?
Star Schema Vs Snowflake Schema: Key Differences
What is a Galaxy schema?
What is Star Cluster Schema?
Overlapping dimensions can be found as forks in hierarchies. A fork happens when an entity acts as a parent in two
different dimensional hierarchies. Fork entities then identified as classification with one-to-many relationships.
Summary:
Multidimensional schema is especially designed to model data warehouse systems
The star schema is the simplest type of Data Warehouse schema. It is known as star schema as its
structure resembles a star.
Comparing Snowflake vs Star schema, a Snowflake Schema is an extension of a Star Schema, and it adds
additional dimensions. It is called snowflake because its diagram resembles a Snowflake.
In a star schema, only single join defines the relationship between the fact table and any dimension tables.
Star schema contains a fact table surrounded by dimension tables.
Snowflake schema is surrounded by dimension table which are in turn surrounded by dimension table
A snowflake schema requires many joins to fetch the data.
Comparing Star vs Snowflake schema, Start schema has simple DB design, while Snowflake schema has
very complex DB design.
A Galaxy Schema contains two fact table that shares dimension tables. It is also called Fact Constellation
Schema.
Star cluster schema contains attributes of Star and Snowflake Schema.