DBMS的数据模型和数据库模式:间的区别
问题说明
我知道数据模型基本上是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?
正确答案
模式是数据库的蓝图,它指定将显示哪些字段以及字段的类型。例如,一个 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
-
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
检查邮件是否发送成功
it1352 07-25 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20 -
复制文件夹/文件而不修改属性?
it1352 07-15 -
为什么字符'^'被Python Popen忽略 - 在Popen Windows转义'^'字符?
it1352 08-07