📜  雪花模式和事实星座模式的区别

📅  最后修改于: 2021-09-13 03:21:17             🧑  作者: Mango

雪花架构:
雪花模式是一种多维模型。它用于数据仓库。在雪花模式中,每个维度表包含事实表、维度表和一个或多个表。雪花模式是星型模式的规范化形式,它减少了冗余并节省了大量存储。它易于操作,因为它在表之间的连接数量较少,并且在这个简单且不太复杂的查询中用于访问数据库中的数据。

事实星座架构:
事实星座图也是一种多维模型。事实星座模式由多个事实表共享的维度表组成。事实星座模式一次由多个星型模式组成。与雪花模式不同,天文馆模式并不容易操作,因为它在表之间有多个数字。与雪花模式不同,星座模式实际上使用非常复杂的查询来访问数据库中的数据。

让我们看看雪花架构和事实星座架构的区别:

S.NO Snowflake Schema Fact Constellation
1. Snowflake schema contains the large central fact table, dimension tables and sub dimension tables. While in fact constellation schema, dimension tables are shared by many fact tables.
2. Snowflake schema saves significant storage. While fact constellation schema does not save storage.
3. The snowflake schema consists of one star schema at a time. Whereas the fact constellation schema consists of more than one star schema at a time.
4. In snowflake schema, tables can be maintained easily. In fact constellation schema, the tables are tough to maintain.
5. Snowflake schema is a normalized form of star schema. While fact constellation schema is a normalized form of snowflake schema and star schema.
6. Snowflake schema is easy to operate as compared to fact constellation schema as it has less number of joins between the tables. Fact constellation schema is not easy to operate as compared to snowflake schema as it has multiple number of joins between the tables.
7. In snowflake schema, to access the data from database simple and less complex query is used. While in fact constellation schema, to access the data from database heavier complex query is used.