The Wayback Machine - https://web.archive.org/web/20240716224102/https://www.geeksforgeeks.org/difference-between-star-schema-and-snowflake-schema/
Open In App

Difference between Star Schema and Snowflake Schema

Last Updated : 21 Feb, 2023
Improve
Suggest changes
Post a comment
Like Article
Like
Save
Share
Report

Star Schema: Star schema is the type of multidimensional model which is used for data warehouse. In star schema, The fact tables and the dimension tables are contained. In this schema fewer foreign-key join is used. This schema forms a star with fact table and dimension tables. 
 
Snowflake Schema: Snowflake Schema is also the type of multidimensional model which is used for data warehouse. In snowflake schema, The fact tables, dimension tables as well as sub dimension tables are contained. This schema forms a snowflake with fact tables, dimension tables as well as sub-dimension tables. 
 
Let’s see the difference between Star and Snowflake Schema:

S.NO Star Schema Snowflake Schema
1. In star schema, The fact tables and the dimension tables are contained. While in snowflake schema, The fact tables, dimension tables as well as sub dimension tables are contained.
2. Star schema is a top-down model. While it is a bottom-up model.
3. Star schema uses more space. While it uses less space.
4. It takes less time for the execution of queries. While it takes more time than star schema for the execution of queries.
5. In star schema, Normalization is not used. While in this, Both normalization and denormalization are used.
6. It’s design is very simple. While it’s design is complex.
7. The query complexity of star schema is low. While the query complexity of snowflake schema is higher than star schema.
8. It’s understanding is very simple. While it’s understanding is difficult.
9. It has less number of foreign keys. While it has more number of foreign keys.
10. It has high data redundancy. While it has low data redundancy.


Similar Reads

Difference between Snowflake Schema and Fact Constellation Schema
Snowflake Schema: Snowflake Schema is a type of multidimensional model. It is used for data warehouse. In snowflake schema contains the fact table, dimension tables and one or more than tables for each dimension table. Snowflake schema is a normalized form of star schema which reduce the redundancy and saves the significant storage. It is easy to o
4 min read
Difference between Star Schema and Fact Constellation Schema
Star Schema: Star schema is a multidimensional model type that uses simple queries in order to access data from the database. A star schema depicts each dimension with only one-dimension table. Star schema is easy to operate as compared to fact constellation schema as it has less number of joins between the tables. It uses less space as compared to
2 min read
Components and Analysis of Star Schema Design
What are the main components of a star schema?A star schema has four main components. These are listed below: Fact tableDimension tablesAttributesAttribute hierarchies. Let us talk about them one by one: Facts: These are numerical values.Represents the performance measures of the business activity.Examples: Productivity, expenses, sales, profit, pr
6 min read
Star Schema in Data Warehouse modeling
Prerequisite - Introduction to Big Data, Benefits of Big data A star schema is a type of data modeling technique used in data warehousing to represent data in a structured and intuitive way. In a star schema, data is organized into a central fact table that contains the measures of interest, surrounded by dimension tables that describe the attribut
5 min read
Difference between Star and Mesh Topology
Star Topology: In Star topology, the nodes are connected to the central hub or router in which the information is travel from the central hub or router to all the nodes. There are n links in Star topology if there are n nodes. The nodes are connected to each other completely via a dedicated link in which the information is travel from node to node.
2 min read
Difference between Star and Ring Topology
Prerequisite – Network Topologies Star Topology: In Star topology, the nodes are connected to the central hub or router in which the information is travel from the central hub or router to all the nodes. There are n links in Star topology if there are n nodes. The nodes are connected completely via a dedicated link in which the information is trave
2 min read
Difference between Star topology and Bus topology
Prerequisite - Types of Network Topology 1. Star Topology : Star topology is used for Local Area networks in which all nodes are connected to a central point called Hub, which connects them to the communication channel. The connections are in such a manner that n number of wires are required to connect n number of end devices or nodes. Traffic is g
4 min read
Difference between Star Topology and Tree Topology
1. Star Topology: Star topology is a type of network topology in which all the nodes are connected to the central hub or router. In star topology, connections are in the way that for n nodes, n number of links are needed. Star topology is less complex due to its simplicity. Star topology is less expensive than tree topology. 2. Tree Topology: Tree
3 min read
Difference between Point to Point Link and Star Topology Network
1. Point to point link : This is the kind of topology that relies upon two functions i.e. Transmit and Receive. It is a type of communication network between two communication nodes where there is one transmitter and on the other end, there is the receiver. It is a kind of communication medium which have two endpoints or end nodes. They provide hig
4 min read
Difference between Schema and Database
Database: Database may be a common term in today’s life. several enterprises, firms, organisation, institutes, etc. needs a system to store their information in a very well-formatted type in order that it might be simple to retrieve a helpful data out of it. whereas planning a information. Schema: Schema is such that describes the structural read o
1 min read
Article Tags :
three90RightbarBannerImg