Normalization

本文介绍数据库设计中的规范化理论,包括六个规范化形式:1NF、2NF、3NF、BCNF、4NF 和 5NF。规范化旨在减少冗余并提高数据一致性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Normalization

Normalization means branch of relational theory providing design insights.

Goals

1)be able to characterise the level of redundancy in a relational schema

2)provide mechanisms for transforming schemas  to remove redundancy


Normal Forms 

Normalization theory defines six normal forms(NFS)

1)First, Second, Third Normal Forms (1NF,2NF,3NF)

2)Boyce-Codd Normal Form(BCNF)

3)Fourth Normal Form(4NF)

4)Fifth Normal Form(5NF)

NF hierarchy: 5NF⇒4NF⇒BCNF⇒3NF⇒2NF⇒1NF

1NF allows most redundancy; 5NF allows least redundancy


1NF

All attributes have atomic values. This is the basic requirement of every relation schema, in other words every relation schema is in 1NF


2NF

All non-key attributes fully depend on key. This can avoid much redudancy


3NF

No attributes depend on non-key attributes 

















评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值