📜  星图和事实星座图的区别

📅  最后修改于: 2021-09-13 02:31:04             🧑  作者: Mango

星型架构:
星型模式是一种多维模型类型,它使用简单的查询来访问数据库中的数据。星型模式仅用一维表描述每个维度。与事实星座模式相比,星型模式易于操作,因为它在表之间的连接数量较少。与事实星座模式相比,它使用更少的空间。

事实星座架构:
这种模式是一种多维模型。在这种情况下,维度表被许多事实表共享。事实星座模式一次由多个星型模式组成。与星型模式不同,它不容易操作,因为它在表之间有很多。与星型模式不同,事实星座模式使用非常复杂的查询来访问数据库中的数据。

我们来看看Star Schema和fact constellation schema的区别:

S.NO Star Schema Fact constellation schema
1. A star schema depicts each dimension with only one-dimension table. While in this, dimension tables are shared by many fact tables.
2. In star schema, tables can be maintained easily in comparison of fact constellation schema. While in fact constellation schema, tables cannot be maintained easily comparatively.
3. Star schema does not use normalization. Whereas it is a normalized form of star and snowflake schema.
4. In star schema, simple queries are used to access data from the database. While in this, heavily complex queries are used to access data from the database.
5. Star schema is easy to operate as compared to fact constellation schema as it has less number of joins between the tables. While fact constellation schema is not easy to operate as compared to star schema as it has many joins between the tables.
6. Star schema uses less space as compared to fact constellation schema. While fact constellation schema uses more space comparatively.
7. It is very simple to understand due to its simplicity. While it is very difficult to understand due to its complexity.