《数据库技术》课程教学资源(PPT课件讲稿)Lecture 5 实体关系模型 Entity-Relationship Model

ORACLE microsystems Lecture 5 Entity-Relationship Model
Lecture 5 Entity-Relationship Model

1. Design Process 2.E-R Model 3.E-R diagram Outline 4.Advanced Topics 5. Reduction to relation schemas 6. Database design ZUML
Outline 1.Design Process 2.E-R Model 3.E-R Diagram 4.Advanced Topics 5.Reduction to Relation Schemas 6.Database Design 7.UML

Design Process
Design Process

Design Phases The initial phase of database design is to characterize fully the data needs of the prospective database users >Next, the designer chooses a data model and, by applying the concepts of the chosen data model, translates these requirements into a conceptual schema of the database >a fully developed conceptual schema also indicates the functional requirements of the enterprise. In a specification of functional requirements, users describe the kinds of operations or transactions that will be performed on the data
Design Phases ➢The initial phase of database design is to characterize fully the data needs of the prospective database users. ➢Next, the designer chooses a data model and, by applying the concepts of the chosen data model, translates these requirements into a conceptual schema of the database. ➢A fully developed conceptual schema also indicates the functional requirements of the enterprise. In a “specification of functional requirements”, users describe the kinds of operations (or transactions) that will be performed on the data

Design Phases(cont) The process of moving from an abstract data model to the implementation of the database proceeds in two final design phases. Logical Design- Deciding on the database schema. Database design requires that we find a good collection of relation schemas Business decision What attributes should we record in the database? Computer Science decision- What relation schemas should we have and how should the attributes be distributed among the various relation schemas? Physical Design- Deciding on the physical layout of the database
Design Phases(cont) ➢The process of moving from an abstract data model to the implementation of the database proceeds in two final design phases. • Logical Design – Deciding on the database schema. Database design requires that we find a “good” collection of relation schemas. • Business decision – What attributes should we record in the database? • Computer Science decision – What relation schemas should we have and how should the attributes be distributed among the various relation schemas? • Physical Design – Deciding on the physical layout of the database

Design Approaches Entity relationship Model(covered in this chapter Models an enterprise as a collection of entities and relationships Entity:a“ thing”or“ object” in the enterprise that is distinguishable from other objects Described by a set of attributes Relationship: an association among several entities Represented diagrammatically by an entity-relationship diagram Normalization Theory Formalize what designs are bad, and test for them
Design Approaches • Entity Relationship Model (covered in this chapter) • Models an enterprise as a collection of entities and relationships • Entity: a “thing” or “object” in the enterprise that is distinguishable from other objects • Described by a set of attributes • Relationship: an association among several entities • Represented diagrammatically by an entity-relationship diagram: • Normalization Theory • Formalize what designs are bad, and test for them

E-R Model
E-R Model

ER model --Database Modeling >The eR data mode was developed to facilitate database design by allowing specification of an enterprise schema that represents the overall logical structure of a database >The ER model is very useful in mapping the meanings and interactions of real-world enterprises onto a conceptual schema Because of this usefulness, many database-design tools draw on concepts from the ER model >The eR data model employs three basic concepts entity sets ° relationship sets, attributes >The ER model also has an associated diagrammatic representation the eR diagram, which can express the overall logical structure of a database graphically
ER model -- Database Modeling ➢The ER data mode was developed to facilitate database design by allowing specification of an enterprise schema that represents the overall logical structure of a database. ➢The ER model is very useful in mapping the meanings and interactions of real-world enterprises onto a conceptual schema. Because of this usefulness, many database-design tools draw on concepts from the ER model. ➢The ER data model employs three basic concepts: • entity sets, • relationship sets, • attributes. ➢The ER model also has an associated diagrammatic representation, the ER diagram, which can express the overall logical structure of a database graphically

Entity Sets >An entity is an object that exists and is distinguishable from other objects Example: specific person, company, event, plant P 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 >An entity is represented by a set of attributes; i.e descriptive properties possessed by all members of an entity set Example instructor (ID name street sala course=(course id, title, credits) >A subset of the attributes form a primary key of the entity set; i.e., uniquely identifying each member of the set
Entity Sets ➢An entity is an object that exists and is distinguishable from other objects. Example: specific person, company, event, plant ➢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 ➢An entity is represented by a set of attributes; i.e., descriptive properties possessed by all members of an entity set. Example: instructor = (ID, name, street, city, salary ) course= (course_ id, title, credits) ➢A subset of the attributes form a primary key of the entity set; i.e., uniquely identifying each member of the set

Entity Sets --instructor and student instructor iD instructor name student -ID student name 76766 Crick 98988 Tanaka 45565 Katz 12345Shankar 10101 Srinivasan 00128 Zhang 98345Kim 76543 Brown 76543 Singh 76653Aoi 22222 Einstein 23121 Chavez instructor 44553 Peltier student
Entity Sets -- instructor and student instructor_ID instructor_name student-ID student_name
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《生物化学》课程教学资源(PPT课件讲稿)第三章 维生素 vitamin.ppt
- 《有机化学》课程教学资源(PPT课件讲稿)第二章 开链烃.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)现代合成与分离分析化学(主讲:刘文杰).ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第五章 核磁共振波谱分析(Nuclear Magnetic Resonance spectroscopy, NMR).ppt
- 《普通化学》课程教学课件(PPT讲稿)第三章 电极电势与电池电动势(3.1)电极电势.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第二章 光学分析法导论 Introduce to Optical Analysis.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第十章 质谱分析法(Mass Spectrometry, MS).ppt
- 《生物化学》课程教学资源(PPT课件讲稿)第十章 DNA的生物合成(Biosynthesis of DNA).ppt
- 合肥学院:分析测试中心仪器汇报(PPT讲稿)原子吸收光谱仪.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第六章 红外吸收光谱(Infrared absorption spectroscopy, IR).ppt
- 《结晶学基础》课程教学资源(PPT课件讲稿)第9章 晶体化学基础.pps
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)原子发射光谱法.ppt
- 枣庄学院:化学工程与工艺专业(本科)课程教学大纲汇编(合集).doc
- 《结构化学》课程电子教案(PPT教学课件)第十讲 空间群(二)非点式操作.ppt
- 《生物化学》课程教学资源(PPT课件讲稿)第四章 糖代谢 Metabolism of Carbohydrates.ppt
- 中国科学技术大学:《物理化学》课程教学资源(PPT课件讲稿)统计热力学初步(主讲:侯中怀)Lecture 2 Boltzmann分布.ppt
- 《生物化学》课程电子教案(PPT教学课件)第十章 氨基酸代谢.ppt
- 《生物化学》课程教学资源(PPT课件讲稿)第十二章 蛋白质的生物合成(翻译)Protein Biosynthesis,Translation.ppt
- 《化学》课程教学资源(PPT课件讲稿)元素周期表.ppt
- 中国科学技术大学:《分析化学》课程教学资源(PPT课件讲稿)第5章 定性分析方法.pps
- 上海交通大学:Fast In-memory Transaction Processing using RDMA and HTM.pptx
- 楚雄师范学院:《有机化学》课程电子教案(PPT课件讲稿)第十七章 周环反应.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)高效液相色谱法 High Performance Liquid Chromatography.ppt
- 《普通化学》课程教学资源(PPT课件讲稿)第6章 无机化合物.ppt
- 《有机化学》课程电子教案(PPT课件)第十八章 周环反应.ppt
- 分析化学(滴定分析法概论)PPT课件.ppt
- 化学热力学基础 (thermodynamics)PPT课件.ppt
- 《分析化学》:金纳米颗粒聚集以及金纳米探针——微阵列技术研究进展(军事医学科学院:逄键涛、文思远、王升启).pdf
- 《分析化学》:蛋白质芯片及其分析应用新进展(武汉大学化学与分子科学学院:梁建功、何治柯).pdf
- 高等教育出版社:《配位化学进展》教材电子书(主编:游效曾、孟庆金、韩万书)Progress in Coordination Chemistry.pdf
- 上海交通大学:《材料化学》课程教学资源(教学大纲).pdf
- 复旦大学:《物理化学》课程教学大纲 Physical Chemistry(国家级精品课程).doc
- 复旦大学化学系国家级精品课程:《谱学导论》教学大纲(范康年).doc
- 复旦大学:《谱学导论》课程教学资源(PPT课件)第八章 电子能谱.ppt
- 天津农学院:大学基础化学实验——《分析化学》实验部分(共十七个).ppt
- 中国科技大学化学系化学发光实验室:《化学发光与电致化学发光》PPT教学课件(崔华).ppt
- 泉州师范学院化学与生命科学学院专业基础课:《无机化学——过渡金属元素》PPT教学课件.ppt
- 复旦大学精品课程:《谱学导论》PPT课件_第八章 电子能谱.ppt
- 南开大学环境科学与工程学院:有机污染物的电化学氧化 Electrochemical Oxidation of organic pollutants(鲁金凤).ppt
- 西安建筑科技大学:第十章 熔盐电解(PPT课件).ppt