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

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.
主站蜘蛛池模板: 阳山县| 洪江市| 永嘉县| 连州市| 藁城市| 肃南| 融水| 苍溪县| 新宁县| 东乌珠穆沁旗| 西峡县| 西丰县| 昂仁县| 台山市| 长葛市| 乌恰县| 潜山县| 油尖旺区| 兴业县| 南宫市| 潍坊市| 浪卡子县| 定南县| 武穴市| 丹凤县| 尖扎县| 肇源县| 鹤庆县| 台湾省| 渭源县| 澄迈县| 兴山县| 天门市| 麻江县| 大荔县| 吴忠市| 青神县| 洛扎县| 麟游县| 开阳县| 仁寿县|