- 1、本文档共78页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
最近下载
- 中文版 IEC 61000-4-4-2012_(1-45,92)电磁兼容性 (EMC) — 第 4-4 部分:试验和测量技术 — 电快速瞬变脉冲群抗扰度试验.doc
- 奥数方阵问题打印.doc VIP
- 2024年复合肥相关项目薪酬管理报告.pptx
- 2022-2023学年河北省石家庄二中教育集团高一(下)期末数学试卷【答案版】.docx VIP
- 哌拉西林他唑巴坦的临床应用.ppt VIP
- 说明2工作相关n5173b.pdf
- 机械制造企业双重预防机制文件—风险分级管控.doc
- 山洪灾害防御知识培训.pptx
- 2022-2023学年河北省石家庄二中教育集团高一(下)期末数学试卷.pdf VIP
- 弱电智能化工程环境管理体系与措施.docx
文档评论(0)