全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Redundancy, anomalies?

又称: redundancy · anomaly (insertion, deletion, update)

Definition 30.1 High School Computer Science · 第 30 章 — Relational Databases and SQL

A table has redundancy when the same fact is stored in several places. It then suffers anomalies: an update anomaly, when changing one fact requires changing several rows, and missing one leaves the table contradicting itself; a deletion anomaly, when deleting some rows loses a fact that had nothing to do with them; an insertion anomaly, when a fact cannot be stored until some unrelated fact exists.

Four rows of the wide table built by flat_table.py. The shaded cells repeat a fact written in another row: the author of Seven Forest twice here (nine times in the whole table), the address of Bea Stoneford three times here (eight in all). Each repetition is a place where an update can be forgotten.
Four rows of the wide table built by flat_table.py. The shaded cells repeat a fact written in another row: the author of Seven Forest twice here (nine times in the whole table), the address of Bea Stoneford three times here (eight in all). Each repetition is a place where an update can be forgotten.
在原文中阅读 →