What is Snowflake Schema?

Jul 09, 2025 · 1 min de lecture

A Snowflake Schema is a database modeling technique used in data warehousing that organizes data into a central fact table which is connected to multiple dimension tables. In a Snowflake Schema, the dimension tables are normalized, meaning that they are broken down into sub-tables, hence resembling a Snowflake Shape when viewed in a diagram.

The main advantage of a Snowflake Schema is that it reduces data redundancy by normalizing dimension tables. This can lead to more efficient use of storage space and can improve query performance, especially when dealing with large datasets. Normalization also makes it easier to update and maintain the database, as changes only need to be made in one place.

However, there are also some drawbacks to using a Snowflake Schema. One issue is that the complex structure of the schema can make queries more complicated and slower to execute compared to a denormalized schema like a star schema. Additionally, joining multiple normalized tables can lead to performance bottlenecks, especially when dealing with complex queries involving multiple dimensions.

Despite these drawbacks, Snowflake Schemas are still widely used in data warehousing, especially in scenarios where data integrity and consistency are of utmost importance. By properly designing and indexing the schema, it is possible to mitigate some of the performance issues associated with Snowflake Schemas and leverage their benefits in organizing and storing data efficiently.