📜  归一化和非归一化的区别

📅  最后修改于: 2021-09-27 06:19:04             🧑  作者: Mango

正常化:
规范化是数据库中用于减少表中数据冗余和数据不一致的方法。它是将非冗余和一致性数据存储在集合模式中的技术。通过使用规范化,表的数量会增加而不是减少。

非规范化:
非规范化也是数据库中使用的方法。它用于添加冗余以快速执行查询。它是一种将数据组合起来以快速执行查询的技术。通过使用非规范化,减少了与规范化相反的表的数量。

归一化和非归一化的区别:

S.NO Normalization Denormalization
1. In normalization, Non-redundancy and consistency data are stored in set schema. In denormalization, data are combined to execute the query quickly.
2. In normalization, Data redundancy and inconsistency is reduced. In denormalization, redundancy is added for quick execution of queries.
3. Data integrity is maintained in normalization. Data integrity is not maintained in denormalization.
4. In normalization, redundancy is reduced or eliminated. In denormalization redundancy is added instead of reduction or elimination of redundancy.
5. Number of tables in normalization is increased. Denormalization, Number of tables in decreased.
6. Normalization optimize the uses of disk spaces. Denormalization do not optimize the disk spaces.