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

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.

主站蜘蛛池模板: 长岛县| 沧州市| 云梦县| 克什克腾旗| 和平区| 灵山县| 石嘴山市| 佳木斯市| 凯里市| 涿鹿县| 泉州市| 巴塘县| 普洱| 盘山县| 青阳县| 新蔡县| 措美县| 安康市| 仙游县| 宜春市| 泌阳县| 溧水县| 扬州市| 浮山县| 定襄县| 沙湾县| 永善县| 长顺县| 黄平县| 许昌市| 闵行区| 巴马| 宁南县| 临夏市| 孟津县| 霸州市| 瓮安县| 三门县| 洛隆县| 隆尧县| 辉县市|