![]() |
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 operate because it has less number of joins between the tables and in this simple and less complex query is used for accessing the data from database. Advantages:Reduced data redundancy: The snowflake schema reduces data redundancy by normalizing dimensions into multiple tables, resulting in a more efficient use of storage space. Improved performance: The snowflake schema can improve query performance, as it requires fewer joins to retrieve data from the fact table. Scalability: The snowflake schema is scalable, making it suitable for large data warehousing projects with complex hierarchies. Disadvantages:Increased complexity: The snowflake schema can be more complex to implement and maintain due to the additional tables needed for the normalized dimensions. Reduced query performance: The increased complexity of the snowflake schema can result in reduced query performance, particularly for queries that require data from multiple dimensions. Data integrity: The snowflake schema can be more difficult to maintain data integrity due to the additional relationships between tables. Fact Constellation Schema: The fact constellation schema is also a type of multidimensional model. The fact constellation schema consists of dimension tables that are shared by several fact tables. The fact constellation schema consists of more than one star schema at a time. Unlike the snowflake schema, the planetarium schema is not really easy to operate, as it has multiple numbers between tables. Unlike the snowflake schema, the constellation schema, in fact, uses heavily complex queries to access data from the database.
Fact Constellation Schema:Advantages:Simple to understand: The fact constellation schema is easy to understand and maintain, as it consists of a multiple fact table and multiple dimension tables. Improved query performance: The fact constellation schema can improve query performance by reducing the number of joins required to retrieve data from the fact table. Flexibility: The fact constellation schema is flexible, allowing for the addition of new dimensions without affecting the existing schema. Disadvantages:Increased data redundancy: The fact constellation schema can result in increased data redundancy due to repeated dimension data across multiple fact tables. Storage space: The fact constellation schema may require more storage space than the snowflake schema due to the denormalized dimensions. Limited scalability: The fact constellation schema may not be as scalable as the snowflake schema for large data warehousing projects with complex hierarchies. |
Reffered: https://www.geeksforgeeks.org
DBMS |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 13 |