Kimball Inmon 数据仓库设计架构 & 数据库范式 杂记

来源:互联网 发布:软件开发与设计培训 编辑:程序博客网 时间:2024/05/22 04:51

Inmon:

有数据仓库, 再有数据集市. 数据仓库只包含原子性质的数据,数据集市具有维度的性质.数据仓库服从第三范式


Kimball:

先有数据集市, 再有数据仓库. 数据仓库包含维度数据库以便于进行分析,而且用户可以直接查询数据仓库。

参考链接:http://blog.sina.com.cn/s/blog_a656b4e4010115j3.html


第一范式(1NF)是指数据库表的每一列都是不可分割的基本数据项,同一列中不能有多个值,即实体中的某个属性不能有多个值或者不能有重复的属性。

第二范式(2NF)是数据库规范化中所使用的一种正规形式。它的规则是在1NF的基础上要求数据表里的所有数据都要和该数据表的主键有完全依赖关系;所有属性列完全由主键全权决定,而不需要其他列参与指定。

第三范式(3NF)在2NF的基础上,不仅仅属性列由主键完全决定,同时不能被其他属性列决定。比如一张学生信息表:学号是主键,属性列有学生姓名,所在院系和所在系主任3个。那么学生的所在系主任不仅被主键学号决定,其实还被所在院系决定,就不符合3NF了。

In English:

The first normal form: it means that every column in the database cannot be divided anymore. For example if you design a database for a school.There is student information table, then you cannot combine student's email and phone number into one column,They should be two columns.

The second normal form: it is based the 1NF. And what's more, it means in a table every attribute should be determined by the primary key.

The third normal form: it is based the 2NF. It means in a table every attribute should be ONLY determined by the primary key.

0 0
原创粉丝点击