第4章_数据库系统_第2节_Data Model.ppt

  1. 1、本文档共78页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第4章_数据库系统_第2节_Data Model

Section 2 Data Model 2.1 Data Model 2.2 Entity-Relationship Model Entity set, relationship set, attribute, mapping cardinality, key, E-R diagram 2.3 Relational Model Relation, tuple, attribute, relation schema, relation instance, key, schema diagram, relational database 2.4 Hierarchical Model Network Model 2.1 Data Models Data Models A collection of tools for logically describing data data relationships data properties data constraints Conceptual data model Entity-Relationship model Structured data model Relational model Older models: network model and hierarchical model Newer models: object-based model, semi-structured data models 2.2 Entity-Relationship Model (实体-联系模型) Entity-Relationship Model E-R model of real world Entities (objects) E.g. customers, accounts, bank branch Relationships between entities E.g. Account A-101 is held by customer Johnson Relationship set depositor associates customers with accounts Widely used for database design Database design in E-R model is usually converted to design in the relational model (coming up next) which is used for storage and processing Entity Sets(实体集) A database can be modeled as: a collection of entities, relationship among entities. An entity is an object that exists and is distinguishable from other objects. Example: specific person, company, event, plant Entities have attributes(属性) Example: people have names and addresses An entity set is a set of entities of the same type that share the same properties. Example: set of all persons, companies, trees, holidays Entity Sets customer and loan Attributes(属性) An entity is represented by a set of attributes, which are descriptive properties possessed by all members of an entity set. Domain(域) – the set of permitted values for each attribute. Relationship Sets A relationship is an association among several entities. Example: Hayes depositor A-102 customer entity relationship account entity A relationsh

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档