EBU5602 Database week7笔记整理

Normalization

为什么规范化(Purpose

规范化是一种用于生成一组支持企业数据需求的合适关系的技术。

(把大表格拆解成易于辨识的小表格)

合适关系suitable set of relations

支持企业数据需求的最小属性数量the minimal number of attributes necessary to support the data requirements of the enterprise

同一关系中可以找到具有密切逻辑关系的属性attributes with a close logical relationship are found in the same relation;

每个属性的最小冗余只表示一次构成全部或部分外键的属性除外minimal redundancy with each attribute represented only once with the important exception of attributes that form all or part of foreign keys.

优点:用户更容易访问和维护数据;在计算机上占用最小的存储空间

数据冗余和异常更新Data Redundancy and Update Anomalies

关系数据库设计的一个主要目标是将属性分组为关系,以最小化数据冗余。One major aim of relational database design is to group attributes into relations to minimize data redundancy

冗余:细节重复

包含冗余的关系可能存在异常更新的问题:

Insertion anomalies插入异常

Deletion anomalies删除异常

Modification anomalies修改异常

Functional Dependencies

表示Attributes之间的关系(A决定B)

A functional determined B/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值