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

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.

主站蜘蛛池模板: 威宁| 宕昌县| 杂多县| 长子县| 丽江市| 仁化县| 洛阳市| 通辽市| 普格县| 永新县| 台南县| 金堂县| 莆田市| 安新县| 麻城市| 阿拉善右旗| 塔河县| 化州市| 榆树市| 辽阳市| 琼结县| 邢台市| 建瓯市| 旬阳县| 福建省| 灵宝市| 清河县| 睢宁县| 神农架林区| 于田县| 河北省| 肥乡县| 平安县| 白水县| 石城县| 海伦市| 固安县| 桃园县| 库尔勒市| 渭源县| 六盘水市|