• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

DBMS的数据模型和数据库模式:间的区别

用户头像
it1352
帮助1

问题说明

我知道数据模型基本上是ER模型和关系模型两种类型。数据库模式也是物理和逻辑两种类型。

I know the Data Model is basically two types ER-Model and Relational Model & Database schema is also two type Physical and logical.

但是基于它们在DBMS中的操作,我不明白它们之间有什么区别?

But I can not understand what is the difference between them based on their operation in DBMS?

正确答案

#1

模式是数据库的蓝图,它指定将显示哪些字段以及字段的类型。例如,一个 employee 表将具有一个 employee_ID 列,该列由10位数字字符串和一个 employee_Name 列(包含45个字符)。

A schema is a blueprint of the database which specifies what fields will be present and what would be their types. For example an employee table will have an employee_ID column represented by a string of 10 digits and an employee_Name column with a string of 45 characters.

数据模型是一个高级设计,它决定了模式中可以包含的内容。它为数据库用户提供了一个概念框架,其中我们指定了数据库用户的数据库要求以及满足这些要求的数据库结构。

Data model is a high level design which decides what can be present in the schema. It provides a database user with a conceptual framework in which we specify the database requirements of the database user and the structure of the database to fulfill these requirements.

数据模型可以例如,是一个关系模型,其中的数据将以表的形式组织,而该模型的架构将是属性及其对应域的集合。

A data model can, for example, be a relational model where the data will be organised in tables whereas the schema for this model would be the set of attributes and their corresponding domains.

参考文献: 了解架构和数据库系统概念(H Korth和Silberschatz)

References: Understanding the schema and Database System Concepts (H Korth and A Silberschatz)

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /reply/detail/tanhefaceg
系列文章
更多 icon
同类精品
更多 icon
继续加载