dbms支持哪几种数据模型_DBMS中不同类型的数据模型
dbms支持哪幾種數(shù)據(jù)模型
資料模型 (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.
數(shù)據(jù)模型是定義數(shù)據(jù)以哪種格式表示和訪問的模型。 數(shù)據(jù)模型主要定義一些數(shù)據(jù)元素以及它們之間存在的關(guān)系。
數(shù)據(jù)模型的類型 (Types of Data Model)
There are basically two types of data model:
基本上有兩種類型的數(shù)據(jù)模型:
Record based data model
基于記錄的數(shù)據(jù)模型
Object based data model
基于對象的數(shù)據(jù)模型
1)基于記錄的數(shù)據(jù)模型 (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.
當(dāng)數(shù)據(jù)庫以某種固定的格式組織記錄時,記錄模型比基于模型的記錄模型稱為基于記錄的數(shù)據(jù)模型。
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,
固定數(shù)量的字段或每種記錄類型和每個字段中的屬性通常具有固定的長度。 三種最流行的基于記錄的數(shù)據(jù)模型是:
(i) Relational data model
(i)關(guān)系數(shù)據(jù)模型
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.
關(guān)系數(shù)據(jù)模型使用表來表示數(shù)據(jù)以及這些數(shù)據(jù)之間的關(guān)系。 每個表都有多個列,并且每個列都由唯一的名稱標識。 這是一個低級模型。
Advantages of relational data model
關(guān)系數(shù)據(jù)模型的優(yōu)點
It is the simplest model at the conceptual level.
它是概念上最簡單的模型。
The relational data model makes it easy to design, implement, maintain, uses the database.
關(guān)系數(shù)據(jù)模型使設(shè)計,實現(xiàn),維護,使用數(shù)據(jù)庫變得容易。
It does not affect the DBMS’s capability to access the data.
它不影響DBMS訪問數(shù)據(jù)的能力。
The main reason for the popularity of relational model is the presence of powerful query capability.
關(guān)系模型流行的主要原因是強大的查詢功能。
(ii) Network data model
(ii)網(wǎng)絡(luò)數(shù)據(jù)模型
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.
在網(wǎng)絡(luò)數(shù)據(jù)模型中,數(shù)據(jù)模型數(shù)據(jù)由記錄的集合表示。 數(shù)據(jù)之間的關(guān)系由鏈接表示。 在此數(shù)據(jù)模型中,使用圖形數(shù)據(jù)結(jié)構(gòu)。 它允許一個記錄有多個父級。
Advantages of Network data model
網(wǎng)絡(luò)數(shù)據(jù)模型的優(yōu)勢
The Network data model is also conceptually simple and easy to design.
網(wǎng)絡(luò)數(shù)據(jù)模型在概念上也很容易設(shè)計。
In the network data model relationships like one-to-one and many-to-many are exist.
在網(wǎng)絡(luò)數(shù)據(jù)模型中,存在一對一和多對多的關(guān)系。
In the network data model without the owner, no member exists.
在沒有所有者的網(wǎng)絡(luò)數(shù)據(jù)模型中,不存在成員。
In the network database terminology, a relationship is a set. Each set comprises two types of record an owner record and a member record.
在網(wǎng)絡(luò)數(shù)據(jù)庫術(shù)語中,關(guān)系是一個集合。 每組包括兩種類型的記錄:所有者記錄和成員記錄。
(iii) Hierarchical data model
(iii)分層數(shù)據(jù)模型
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.
在分層數(shù)據(jù)中,模型數(shù)據(jù)由記錄的集合表示。 數(shù)據(jù)之間的關(guān)系由鏈接表示。 在此模型中,使用樹數(shù)據(jù)結(jié)構(gòu)。 有兩個與層次模型段類型和父子關(guān)系相關(guān)的概念。
Advantages of Hierarchical data model
分層數(shù)據(jù)模型的優(yōu)點
Since the database is based on the hierarchical structure the relationships between the various layers are logically simple.
由于數(shù)據(jù)庫基于層次結(jié)構(gòu),因此各層之間的關(guān)系在邏輯上很簡單。
The hierarchical data model was the first database that offered the data security that is provided by DBMS.
分層數(shù)據(jù)模型是第一個提供DBMS提供的數(shù)據(jù)安全性的數(shù)據(jù)庫。
The Hierarchical database model is based on the parent-child relationships.
分層數(shù)據(jù)庫模型基于父子關(guān)系。
It is very efficient one when the database contains a large number of one-to-many relationships.
當(dāng)數(shù)據(jù)庫包含大量的一對多關(guān)系時,這是一種非常有效的方法。
2)基于對象的數(shù)據(jù)模型 (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:
在基于對象的數(shù)據(jù)模型中,數(shù)據(jù)庫以幾種類型的實際對象進行組織。 每個對象中定義了許多字段或?qū)傩浴?兩種最流行的基于對象的數(shù)據(jù)模型是:
(i) Object oriented model
(i)面向?qū)ο竽P?
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.
面向?qū)ο蟮哪P突趯ο蟮募稀?對象包含存儲在對象內(nèi)的實例變量中的值。 對象包含對對象進行操作的代碼主體。
Advantages of object oriented data model
面向?qū)ο髷?shù)據(jù)模型的優(yōu)點
It represents relationships explicitly supporting both navigated and associative access to information.
它表示明確支持導(dǎo)航和關(guān)聯(lián)信息訪問的關(guān)系。
Object-oriented database systems are not suited for all applications.
面向?qū)ο蟮臄?shù)據(jù)庫系統(tǒng)并不適合所有應(yīng)用程序。
It is difficult to maintain when organizational information changes.
組織信息發(fā)生變化時很難維護。
(ii) ER (Entity Relational model)
(ii)ER(實體關(guān)系模型)
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.
實體關(guān)系數(shù)據(jù)模型基于對現(xiàn)實世界的感知,該模型由一組基礎(chǔ)對象及其之間的關(guān)系組成。 它是一個基于對象的邏輯模型。 它也是高級數(shù)據(jù)模型。
翻譯自: https://www.includehelp.com/dbms/different-types-of-data-model-in-dbms.aspx
dbms支持哪幾種數(shù)據(jù)模型
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的dbms支持哪几种数据模型_DBMS中不同类型的数据模型的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何在Java中检查对象是否为空?
- 下一篇: 在那 投稿