官术网_书友最值得收藏!

Tuple

A tuple is a set of ordered attributes. They are written by listing the elements within parentheses () and separated by commas, such as (john, smith, 1971). Tuple elements are identified via the attribute name. Tuples have the following properties:

  • (a1,a2, a3,…,an) = (b1, b2,b3,…,bn ) if and only if a1= b1, a2=b2, …,an= bn
  • A tuple is not a set; the order of attributes matters as well as duplicate members 
    • (a1, a2) ≠(a2, a1)
    • (a1, a1) ≠(a1)
  • A tuple has a finite set of attributes

In the formal relational model, multi-valued attributes as well as composite attributes are not allowed. This is important to reduce data redundancy and increase data consistency. This isn't strictly true in modern relational database systems because of the utilization of complex data types such as JSON and key-value stores.

There is a lot of debate regarding the application of normalization; the rule of thumb is to apply normalization unless there is a good reason not to do so.

主站蜘蛛池模板: 朝阳区| 石家庄市| 鲁甸县| 岑溪市| 石楼县| 绍兴县| 揭阳市| 高台县| 长武县| 无锡市| 山丹县| 资源县| 云霄县| 白朗县| 登封市| 扬中市| 桃源县| 同仁县| 贵港市| 额敏县| 黄陵县| 车致| 江阴市| 新干县| 合江县| 沾益县| 萍乡市| 灌云县| 乐安县| 曲沃县| 元氏县| 柳州市| 阿拉尔市| 兴安县| 满洲里市| 苍南县| 应城市| 景德镇市| 井冈山市| 潢川县| 安远县|