Ch.5 Entity-Relationship Model (1) Peter P. Chen 1976.

Slides:



Advertisements
Similar presentations
Entity-Relationship (ER) Modeling
Advertisements

Chapter 31 Chapter 3 Data Modeling Using the Entity-Relationship Model.
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Chapter 4 Entity Relationship (E-R) Modeling
Entity Relationship (ER) Modeling
IT420: Database Management and Organization
Systems Development Life Cycle
Entity-Relation Modeling Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.
Database Design (Data Modeling) DCO11310 Database Systems and Design By Rose Chang.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Chapter 4 ENTITY-RELATIONSHIP MODELLING.
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Entity-Relationship (E-R) Model
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
CS 405G Introduction to Database Systems
Entity-Relationship Diagrams
Entity-Relationship modeling Transparencies
DeSiamorewww.desiamore.com/ifm1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
Entity-relationship Modeling Transparencies 1. ©Pearson Education 2009 Objectives How to use ER modeling in database design. The basic concepts of an.
Dr. Mohamed Osman Hegaz1 Conceptual data base design: The conceptual models: The Entity Relationship Model.
Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Ch. 1 데이터베이스시스템. Ch.1 Database System 데이터베이스시스템 2 What to Learn Database System Overview Entity-Relationship diagram Relational Data Model  Structure.
6.8 Case Study: E-R for Supplier-and-Parts Database
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
Chapter 5 Entity–Relationship Modeling
Entity-Relationship Model Ch. 3
Entity Relationship Modeling
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
ICS 321 Spring 2011 High Level Database Models Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 2/7/20111Lipyeow.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T5 DESIGNING DATABASE APPLICATIONS.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Entity-Relationship Modeling Based on Chapter 12.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Chapter 4 Entity Relationship (ER) Modeling.  ER model forms the basis of an ER diagram  ERD represents conceptual database as viewed by end user 
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
Initial Design of Entity Types for the COMPANY Database Schema Based on the requirements, we can identify four initial entity types in the COMPANY database:
Chapter 11 & 12 Entity-Relationship (E-R) Model Characteristics of E-R Model Components of E-R Model Example of E-R Model Enhanced E-R Model.
DeSiamorePowered by DeSiaMore1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
CS 405G: Introduction to Database Systems Lecture 2 : Database Design I.
Msigwaemhttp//:msigwaem.ueuo.com/1 Database Management Systems (DBMS)  B. Computer Science and BSc IT Year 1.
Entity Relationship Diagram. Introduction Definition: Entity-relationship diagram is a data-modeling technique that visualises entities, the attributes.
Chapter 3 Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 4 Entity Relationship (ER) Modeling.
Ch.1 Introduction Ch.5 E-R Model (3) example.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 4 ENTITY RELATIONSHIP (ER) MODELING Instructor Ms. Arwa Binsaleh 1.
Lecture 03 Entity-Relationship Diagram. Chapter Outline.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 3 Data Modeling Using Entity-Relationship Model.
Data Modeling Using the Entity-Relationship (ER) Data Model.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
INTRODUCTION TO DATA MODELING CS 260 Database Systems.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
Entity-Relationship Modeling. 2 Entity Type u Entity type –Group of objects with same properties, identified by enterprise as having an independent existence.
Chapter 2: Entity-Relationship Model. 3.2 Chapter 2: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram Design Issues Weak Entity.
Ch.2 Relational Data Model E. F. Codd (1969, 1970)
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
IS 4420 Database Fundamentals Chapter 3: Modeling Data in the Organization Leon Chen.
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
بسم الله الرحمن الرحيم.
Entity – Relationship Model
Chapter 4 Entity Relationship (ER) Modeling
Presentation transcript:

Ch.5 Entity-Relationship Model (1) Peter P. Chen 1976

Ch5 E-R Model Database System 2 What to Learn Database System Overview Entity-Relationship diagram Relational Data Model  Structure & Constraints  SQL language How to use Commercial DBMS’s  MS Access  MS SQL Server Normalization ( 정규화 ) Transaction & Concurrency ( 동시성 )

Ch5 E-R Model Database System 3 What to learn Database design Entity-Relationship Diagrm  Entity  Attribute  Relationship  Diagram 그리기 Logical database design  7 steps

Ch5 E-R Model Database System 4 Database Design (1) logical schema data modeling Real World system boundary E-R diagram conceptual modeling physical schema data structuring conceptual world computer world stored database

Ch5 E-R Model Database System 5 Database Design (2) p.258

Ch5 E-R Model Database System 6 Database Design (3) Conceptual design ERD (entity-relationship diagram) Logical design  ERD->Relations mapping  Normalization logical schema Physical design physical schema Transaction design etc.

Ch5 E-R Model Database System 7 E-R model, Chen, 1976 (Entity) Entity any distinguishable object to be represented in the database visible vs. invisible entities (student, book, department, course) regular vs. weak entities (employee, building, dependent, apartment) p. 271

Ch5 E-R Model Database System 8 E-R model (Attribute) Attribute a characteristic of an object with which we describe the object Attributes are characteristics common to all the entities or relationships of a given type  simple vs. composite attributes  key attribute  single-valued vs. multi-valued attributes  stored (base) vs. derived attributes 판매액 = 판매량 * 가격 p. 269

Ch5 E-R Model Database System 9 E-R model (Relationship) Relationship an association among entities  degree number of entity types involved in the relationship p. 274

Ch5 E-R Model Database System 10 E-R Model (Relationship) example of ternary relationship a) supplier S1 supplies part P1 b) supplier S1 supplies to project J1 c) project J1 uses part P1 Above three statements do not say that d) supplier S1 supplies P1 to project J1. If S1-P2-J1, S1-P1-J2, S2-P1-J1 (S1-P1), (S1-J1), (P1-J1) statements a), b), c) are still correct but we cannot validly infer statement d).

Ch5 E-R Model Database System 11 E-R Model (Relationship) cardinality maximum number of elements on each side of a relationship p. 276

Ch5 E-R Model Database System 12 E-R Model (Relationship) examples of cardinality  one-to-one 학과 ← 학과장 → 교수 남편 ←→ 아내, 교수 ←→ 연구실  one-to-many 학과 ← 소속 → 교수, 학생 ← 지도 → 교수, 판매원 ← 담당 → 거래처  many-to-many 학생 ← 수강 → 과목, 부품 ← 구성 → 부품, 학생 ← 구독 → 신문

Ch5 E-R Model Database System 13 E-R Model (Relationship) total vs. partial participation 학생 ← 지도 → 교수, 교수 ← 사용 → 연구실 Notes  entity vs. attribute publisher (pub_id, pub_name, location, phone) book (book_id, title, author, pub_date, publisher)  entity vs. relationship 물품 ← 주문 → 고객 : 주문 as a relationship 주문 ←( 구매 또는 결재 )→ 고객 : 주문 as an entity 주문 ← 구성 → 물품 : 주문 구성

Ch5 E-R Model Database System 14 E-R Model (Notation) p. 285 Notation p. 285

Ch5 E-R Model Database System 15 E-R Model (Other Notation) Crow’s feet Notation (p.287)

Ch5 E-R Model Database System 16 E-R Model (Other Notation) Crow’s feet Notation (p.287)

Ch5 E-R Model Database System 17 E-R Model (Other Notation) Crow’s feet Notation (p.289)