dbms支持哪幾種數據模型_DBMS中不同類型的數據模型

dbms支持哪幾種數據模型

資料模型 (Data Model)

A data model is a model that defines in which format the data are represented and accessed. Data model mainly defines some of the data elements and relationships that exist between them.

數據模型是定義數據以哪種格式表示和訪問的模型。 數據模型主要定義一些數據元素以及它們之間存在的關系。

數據模型的類型 (Types of Data Model)

There are basically two types of data model:

基本上有兩種類型的數據模型:

  1. Record based data model

    基于記錄的數據模型

  2. Object based data model

    基于對象的數據模型

1)基于記錄的數據模型 (1) Record based data model)

When the database is organized in some fixed format of records of several than the model is called record-based data model.

當數據庫以某種固定的格式組織記錄時,記錄模型比基于模型的記錄模型稱為基于記錄的數據模型。

A fixed number of fields, or attributes in each record type and each field is usually of a fixed length. The three most popular record-based data models are,

固定數量的字段或每種記錄類型和每個字段中的屬性通常具有固定的長度。 三種最流行的基于記錄的數據模型是:

(i) Relational data model

(i)關系數據模型

The relational data model uses tables to represent the data and the relationships among these data. Each table has multiple columns and each column is identified by a unique name. It is a low-level model.

關系數據模型使用表來表示數據以及這些數據之間的關系。 每個表都有多個列,并且每個列都由唯一的名稱標識。 這是一個低級模型。

Advantages of relational data model

關系數據模型的優點

  • It is the simplest model at the conceptual level.

    它是概念上最簡單的模型。

  • The relational data model makes it easy to design, implement, maintain, uses the database.

    關系數據模型使設計,實現,維護,使用數據庫變得容易。

  • It does not affect the DBMS’s capability to access the data.

    它不影響DBMS訪問數據的能力。

  • The main reason for the popularity of relational model is the presence of powerful query capability.

    關系模型流行的主要原因是強大的查詢功能。

(ii) Network data model

(ii)網絡數據模型

In the network data model, data model data are represented by collections of records. Relationships among data are represented by links. In this data model, graph data structure is used. It permits a record to have more than one parent.

在網絡數據模型中,數據模型數據由記錄的集合表示。 數據之間的關系由鏈接表示。 在此數據模型中,使用圖形數據結構。 它允許一個記錄有多個父級。

Advantages of Network data model

網絡數據模型的優勢

  • The Network data model is also conceptually simple and easy to design.

    網絡數據模型在概念上也很容易設計。

  • In the network data model relationships like one-to-one and many-to-many are exist.

    在網絡數據模型中,存在一對一和多對多的關系。

  • In the network data model without the owner, no member exists.

    在沒有所有者的網絡數據模型中,不存在成員。

  • In the network database terminology, a relationship is a set. Each set comprises two types of record an owner record and a member record.

    在網絡數據庫術語中,關系是一個集合。 每組包括兩種類型的記錄:所有者記錄和成員記錄。

(iii) Hierarchical data model

(iii)分層數據模型

In the hierarchical data, model data are represented by collections of records. Relationships among data are represented by links. In this model, tree data structure is used. There are two concepts associated with the hierarchical model segments types and parent-child relationships.

在分層數據中,模型數據由記錄的集合表示。 數據之間的關系由鏈接表示。 在此模型中,使用樹數據結構。 有兩個與層次模型段類型和父子關系相關的概念。

Advantages of Hierarchical data model

分層數據模型的優點

  • Since the database is based on the hierarchical structure the relationships between the various layers are logically simple.

    由于數據庫基于層次結構,因此各層之間的關系在邏輯上很簡單。

  • The hierarchical data model was the first database that offered the data security that is provided by DBMS.

    分層數據模型是第一個提供DBMS提供的數據安全性的數據庫。

  • The Hierarchical database model is based on the parent-child relationships.

    分層數據庫模型基于父子關系。

  • It is very efficient one when the database contains a large number of one-to-many relationships.

    當數據庫包含大量的一對多關系時,這是一種非常有效的方法。

2)基于對象的數據模型 (2) Object based data model)

In the object-based data model, the database is organized in real-world objects of several types. A number of fields or attributes are defined in each object. The two most popular object-based data models are:

在基于對象的數據模型中,數據庫以幾種類型的實際對象進行組織。 每個對象中定義了許多字段或屬性。 兩種最流行的基于對象的數據模型是:

(i) Object oriented model

(i)面向對象模型

The object-oriented model is based on a collection of objects. An object contains values stored in instances variable within the object. An object contains bodies of code that operate on the object.

面向對象的模型基于對象的集合。 對象包含存儲在對象內的實例變量中的值。 對象包含對對象進行操作的代碼主體。

Advantages of object oriented data model

面向對象數據模型的優點

  • It represents relationships explicitly supporting both navigated and associative access to information.

    它表示明確支持導航和關聯信息訪問的關系。

  • Object-oriented database systems are not suited for all applications.

    面向對象的數據庫系統并不適合所有應用程序。

  • It is difficult to maintain when organizational information changes.

    組織信息發生變化時很難維護。

(ii) ER (Entity Relational model)

(ii)ER(實體關系模型)

The entity relational data model based on the perception of the real world that consist of a collection of basics objects and relationships between them. It is an object-based logical model. It is also high-level data model.

實體關系數據模型基于對現實世界的感知,該模型由一組基礎對象及其之間的關系組成。 它是一個基于對象的邏輯模型。 它也是高級數據模型。

翻譯自: https://www.includehelp.com/dbms/different-types-of-data-model-in-dbms.aspx

dbms支持哪幾種數據模型

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/378239.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/378239.shtml
英文地址,請注明出處:http://en.pswp.cn/news/378239.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

JS 數組迭代方法

var arr [3,4,5,6,7,"a"]; var isNum function(elem,index,AAA){ return !isNaN(elem);} var toUpperCase function(elem){ return String.prototype.toUpperCase.apply(elem);} var print function(elem,index){ console.log(index"."elem);} /*對數組…

php開源問答_PHP基礎知識能力問答

php開源問答This section contains Aptitude Questions and Answers on PHP Basics. 本部分包含有關PHP基礎知識的 Aptitude問題和解答。 1) There are the following statements that are given below, which of them are correct PHP? PHP stands for the Preprocessor Hom…

【數據結構基礎筆記】【順序表】

代碼參考《妙趣橫生的算法.C語言實現》 文章目錄前言1、創建順序表2、順序表插入元素3、順序表刪除元素4、順序表實例分析1、靜態2、動態5、順序表總結前言 本章總結:從靜態和動態分別進行順序表的創建、插入、刪除、以及實例分析 1、創建順序表 1、靜態地生成一張…

ubuntu安裝oracle unzip: No such file or directory

$ln -s /usr/bin/unzip /你的oracle11安裝目錄/install/unzip$sudo chmod 777 /usr/bin/unzip轉載于:https://www.cnblogs.com/qm4050/archive/2011/08/25/2241466.html

一、網絡爬蟲概述

1,瀏覽器與網絡爬蟲的區別 答: 對于瀏覽器而言:瀏覽器打開一個網站,會對網站服務器發送一個request請求,服務器收到該請求之后,會給瀏覽器一個respond響應,該響應攜帶很多數據,之后…

百度android廣告sdk下載,IS_Freedom

美數廣告 SDK接入流程1.嵌入廣告SDK將 sdk-android-demo/app/libs 中的 meishu-sdk_xxx_release.aar、open_ad_sdk_xxx.aar、Baidu_MobAds_SDK-release-xxx.aar、GDTSDK.unionNormal.xxx.aar、msa_mdid_1.0.13 拷貝到項目的 libs 下,對應的 build.gradle 文件里面添…

關于《加密與解密》的讀后感----對dump脫殼的一點思考

偶然翻了一下手機日歷,原來今天是夏至啊,時間過的真快。ISCC的比賽已經持續了2個多月了,我也跟著比賽的那些題目學了2個月.......雖然過程很辛苦,但感覺還是很幸運的,能在大三的時候遇到ISCC,不管怎樣&…

java vector_Java Vector elements()方法與示例

java vector向量類elements()方法 (Vector Class elements() method) elements() method is available in java.util package. elements()方法在java.util包中可用。 elements() method is used to get an enumeration of the elements that exist in this Vector. elements()方…

【數據結構基礎筆記】【鏈表】

代碼參考《妙趣橫生的算法.C語言實現》 文章目錄前言1、鏈表基礎2、創建一個鏈表3、插入結點4、刪除結點5、銷毀鏈表6、實例分析前言 本章總結:鏈表的定義、創建、銷毀,結點的插入與刪除 1、鏈表基礎 鏈表的物理存儲結構是用一組地址任意的存儲單元存儲…

動態添加,刪除行之心理測試系統

動態添加,刪除行之考試系統 數據庫設計: xl_option 題目選項 20090105134755404(編號) 20090105134904421(外鍵) 比較符合(選項內容) ②(選項標號) 2(選項分值) xl_subject 題目信息 20090105134943608(編號&#xff…

android bitmap裁剪中間,Android裁剪中心位圖

雖然上面的大多數答案提供了一種方法來實現這一點,但已經有一種內置的方法來實現這一點,它是一行代碼(ThumbnailUtils.extractThumbnail())int dimension getSquareCropDimensionForBitmap(bitmap);bitmap ThumbnailUtils.extractThumbnail(bitmap, di…

二、request請求庫

一、requests介紹與安裝 1,requests介紹 答:requests是一個優雅且簡單的Python HTTP請求庫 2,requests作用 答:requests的作用是發送請求獲取響應數據 3,requests安裝 答:pip install requests 二、…

Java Vector Capacity()方法與示例

向量類的Capacity()方法 (Vector Class capacity() method) capacity() method is available in java.util package. Capacity()方法在java.util包中可用。 capacity() method is used to return the current capacity (i.e. initially, how many object exists) of this Vecto…

MFC和GTK的區別

關鍵技術 http://blog.csdn.net/master_max/article/details/1540204 MFC和GTK的區別?? 1.  兩者都是基于面向對象設計的。盡管MFC是用C寫的,而GTK是用C寫的,但思想都是面向對象的。GTK使用glib的對象機制,由于用C寫…

視頻圖像質量評價

目錄1、人眼視覺特性1、眼的適應性2、對比靈敏度3、空間分辨率和時間分辨率4、馬赫效應5、可見度閾值2、圖像質量測度3、圖像評價方法4、圖像評價方法的優劣1、人眼視覺特性 1、眼的適應性 暗適應性:從亮環境到暗環境,適應暗環境的特性 亮適應性&#…

鴻蒙科技與文化,數字閱讀 | “華為鴻蒙”:當現代科技遇到古典文化

華為事件愈演愈烈。海思芯片 20 年 " 備胎 " 終轉正,那么操作系統呢?最近,華為為自主研發的操作系統注冊商標—— " 鴻蒙 ",引發了關于華為注冊整本《山海經》的熱烈討論,很多人的朋友圈&#xff…

三、Beautiful Soup解析庫

一、Beautiful Soup介紹與安裝 1,Beautiful Soup介紹 答:Beautiful Soup是一個可以從HTML或XML文件中提取數據的Python庫 2,Beautiful Soup安裝 答:安裝Beautiful Soup 4:pip install bs4 安裝lxml:pip…

strictmath_Java StrictMath sqrt()方法與示例

strictmathStrictMath類sqrt()方法 (StrictMath Class sqrt() method) sqrt() Method is available in java.lang package. sqrt()方法在java.lang包中可用。 sqrt() Method is used to find the square root of the given parameter in the method. Here, "sqrt" st…

recovery編譯問題匯總

1、修改支持USB大容量存儲 (1)、首先需要查看手機lun位置 手機鏈接電腦,打開cmd命令行,依次輸入以下命令: adb shell find /sys -name "lun" 輸出以下結果: 發現手機輸出結果有兩個,需要進一步查…

言語理解每日學習及精解20110831

【例題】天氣預報一般要考慮氣溫、氣壓、溫度、風力等因素,這些都是大氣層本身變化的結果,只要掌握這些因素,通過計算機的計算就能準確地預報天氣變化的趨勢。沙塵暴作為一種特殊的天氣現象,同樣要考慮上述氣象因素。據氣象學家分…