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支持哪几种数据模型

dbms支持哪几种数据模型_DBMS中不同类型的数据模型相关推荐

  1. dbms支持哪几种数据模型_DBMS数据库模型

    dbms支持哪几种数据模型 A Database model defines the logical design and structure of a database and defines ho ...

  2. java 调用枚举种方法_Java中枚举类型的一种使用方式

    今天改同事的代码发现同事的代码中有大量的if else语句.很不美观而且可读性太差. 因为需要给前端一个key,value的列表.这个列表写死.然而同事的代码. 放几张图,大家自己感受.我都不知道以后 ...

  3. python语言的三种数字类型_Python语言中的类型之数字类型--Python(10)

    数据从不一样的角度能够用不一样的含义去解释它,如: 10,011,101 对上面这个数据,咱们有以下多种含义去解释它: 1)它是1个二进制数字,或者是1个十进制数字: 2)一段文本: 3)用 , 号分 ...

  4. pdcch加扰_LTE中PDCCH支持的四种格式是代表什么含义

    匿名用户 1级 2015-12-14 回答 PDCCH中承载的是DCI(Downlink Control Information),包含一个或多个UE上的资源分配和其他的控制信息.在LTE中上下行的资 ...

  5. 数据库中的常用的数据模型 层次模型 网状模型 关系模型

    层次数据模型     定义:层次数据模型是用树状<层次>结构来组织数据的数据模型.     满足下面两个条件的基本层次联系的集合为层次模型     1. 有且只有一个结点没有双亲结点,这个 ...

  6. 【Python】轻松识别文字,这款Python OCR库支持超过80种语言

    点击上方"小白学视觉",选择加"星标"或"置顶" 重磅干货,第一时间送达本文转自|Python大数据分析 什么是OCR? 有一款软件叫扫描全 ...

  7. python不支持以下哪种数据类型_Python 不支持以下哪种数据类型?

    Python 不支持以下哪种数据类型? 答:char 中国大学MOOC: 为了充分利用学习时间,下列方法可行的是: 答:尽量选择理想的固定场所学习\n充分利用等候和其它碎片时间\n把握一天中的最佳状态 ...

  8. 几种TCP连接中出现RST的情况

    UNIX网络编程上说:产生RST的三个条件是:目的地为某端口的SYN到达,然而在该端口上并没有正在监听 的服务器:TCP想取消一个已有链接:TCP接收到一个根本不存在的连接上的分节. 几种TCP连接中 ...

  9. python支持的几种并发方式进行简单的总结

    本文对python支持的几种并发方式进行简单的总结. Python支持的并发分为多线程并发与多进程并发(异步IO本文不涉及).概念上来说,多进程并发即运行多个独立的程序,优势在于并发处理的任务都由操作 ...

最新文章

  1. 一文概览主要语义分割网络:FCN,SegNet,U-Net...
  2. 数据库基础笔记(MySQL)4 —— 基础约束
  3. [HNOI 2011]数矩形
  4. linux php安装memcached扩展
  5. DFS应用——遍历有向图+判断有向图是否有圈
  6. 通过命令行编译器来编译运行程序
  7. java WebSocket的实现以及Spring WebSocket
  8. NLP学习—12.Seq2Seq模型与Attention机制
  9. P1020 导弹拦截 dp 树状数组维护最长升序列
  10. 如何以最好的方式实现游戏关卡
  11. 用于无人驾驶技术的车道线_自动驾驶汽车可用于查找车道的4种技术
  12. 《现代操作系统(中文第四版)》笔记 第一章 引论
  13. 升讯威周报与工时统计系统 V3
  14. 智慧城市大数据运营中心及城市大脑综合运行管理平台建设方案WORD
  15. python文件操作(1)
  16. java apns feedback_php从苹果apns的feedback服务器获取推送失败的token
  17. Python数据可视化——图型参数介绍
  18. Cisco综合配置实验——二层、三层交换机、路由器
  19. acer台式电脑怎么重装系统_手把手教你宏碁台式机如何重装系统
  20. 浪潮和思科联合 华为、新华三怎么看?

热门文章

  1. linux下的五种io模型,Linux下的五种IO模型
  2. flutter ios打包_Flutter通过BasicMessageChannel与Android iOS 的双向通信
  3. Vue 封装的组件生命周期钩子
  4. NodeJS学习目录
  5. python3-开发进阶-RESTful 软件架构风格
  6. Two.js – 为现代浏览器而生的 2D 绘图 API
  7. 深入理解JavaScript之Event Loop
  8. Sublime Text3—Code Snippets(自定义代码片段)
  9. 手写弹出框,设置遮罩,布局设计。
  10. VS2010中预处理器定义