Chapter 4 Conceptual Modeling of Databases with Entity-Relationship Diagrams and the Unified Modeling Language.

Slides:



Advertisements
Similar presentations
Relational Database Design Via ER Modelling
Advertisements

Lab 3 Alternative ER Modelling Pearson Education © 2009.
IT420: Database Management and Organization
Entity-Relationship Model
Systems Development Life Cycle
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 COS 346 Day 6.
Chapter 6 Methodology Logical Database Design for the Relational Model Transparencies © Pearson Education Limited 1995, 2005.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 2 Application Layer. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 2-2.
Copyright © 2004 Pearson Education, Inc.. Chapter 4 Enhanced Entity- Relationship and UML Modeling.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke Database Processing Tenth Edition Chapter 5 Data.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Understanding Entity Relationship Diagrams.
Chapter Five Data Modeling with the Entity-Relationship Model.
Copyright © 2004 Pearson Education, Inc.. Chapter 3 Data Modeling Using the Entity-Relationship Model.
SLIDE 1IS Fall 2002 Database Management: Discussion Session University of California, Berkeley School of Information Management and.
Entity-Relationship Model
Chapter 2: Entity-Relationship Model (Continued)
Entity-Relationship (E-R) Model
Chapter 16 Resources and the Environment at the Global Level.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 9 Relational Database Design by ER- and EER-to- Relational Mapping.
Murali Mani The Entity- Relationship Model. Murali Mani Database Design Stages Application Requirements Conceptual Design Logical Design Physical Design.
Chapter 4 Entity-Relationship modeling Transparencies © Pearson Education Limited 1995, 2005.
Jennifer Widom UML UML Data Modeling. Jennifer Widom UML Modeling Data Modeling How to represent data for application  Relational model  with design.
Entity-Relationship modeling Transparencies
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
3.1 CSIS 3310 Chapter 3 The Entity-Relationship Model Conceptual Data Modeling.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Entity-relationship Modeling Transparencies 1. ©Pearson Education 2009 Objectives How to use ER modeling in database design. The basic concepts of an.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 Data Modeling Using the Entity- Relationship (ER) Model Hour1 Presented.
Chapter 5 Entity–Relationship Modeling
Conceptual Modeling with ER Diagrams Peter Chen introduced ER Diagrams.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Entity Relationship Modeling
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
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 © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 3 Data Modeling Using the Entity- Relationship (ER) Model.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Design Issues Mapping.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Entity-Relationship Modeling Based on Chapter 12.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 9 Relational Database Design by ER- and EER-to- Relational Mapping.
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.
Chapter 12 Entity-Relationship Modeling Pearson Education © 2009.
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.
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
Chapter 3 Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Databases Illuminated Chapter 3 The Entity Relationship Model.
Computing & Information Sciences Kansas State University Friday, 26 Sep 2008CIS 560: Database System Concepts Lecture 13 of 42 Friday, 26 September 2008.
Lecture 03 Entity-Relationship Diagram. Chapter Outline.
Chapter 2 Data Modeling Using the Entity-Relationship (ER) Model Copyright © 2004 Pearson Education, Inc.
DatabaseIM ISU1 Fundamentals of Database Systems Chapter 3 Data Modeling Using Entity-Relationship Model.
Chapter 4 Extended Entity-Relationship (EER)Model Incorporates Set-subset Relationships Incorporates Generalization Hierarchies Constraints: Coverage Constraints:
Data Modeling Using the Entity- Relationship (ER) Model.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts Chapter 2: Entity-Relationship Model Entity Sets Relationship Sets Mapping Constraints Keys.
Chapter 2: Entity-Relationship Model. 3.2 Chapter 2: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram Design Issues Weak Entity.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 2: MODELING DATA.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide 4- 1.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model تنبيه :
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Lecture # 17 July 28,2012 Data Modeling using the Entity Relationship.
Data Modeling Using the Entity- Relationship (ER) Model
Entity- Relationship (ER) Model
Relational Database Design by ER- and EER-to- Relational Mapping
Relational Database Design by ER- and EERR-to-Relational Mapping
Entity-Relationship Modeling
Chapter 6b: Database Design Using the E-R Model
Relational Database Design by ER-to-Relational Mapping
Presentation transcript:

Chapter 4 Conceptual Modeling of Databases with Entity-Relationship Diagrams and the Unified Modeling Language

Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-2 Figure 4.1 Fragment of the E-R diagram for the entity type P ERSON. Hobbies is multi- valued

Figure 4.2 E-R diagrams for several relationship types. End of arrow away from the head is the optional side of a 1:1 A line without other notation is m:n

Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-4 Figure 4.3 Cardinality in the E-R model. No more than one instance of C for 2 instance of D-E; no more than 2 instances of D-E for 1 instance of C.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-5 Figure 4.4 Two ways to represent single-role key constraints. End of arrow away from the head is the optional side of a 1:1

Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-6 Figure 4.5 Many-to-one, one-to-one, and many-to-many correspondences. * Means 0..n

Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-7 Figure 4.6 Example of an E-R diagram with an I S A hierarchy.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-8 Figure 4.7 Using IsA for data partitioning.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved. 4-9 Figure 4.8 Participation constraints.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.9 Line-based representation vs. cardinality constraints.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.10 Non-exclusive part-of relationship in E-R.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.11 Exclusive part-of relationship in E-R: weak entities.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.12 Summary of the E-R notation.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.13 Translation of entity type PERSON into a relation.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.14 Translations of some relationships.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.15 Examples of UML classes.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.16 UML associations.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.17 UML associations with association classes.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.18 The meaning of the multiplicity constraint in UML.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.19 Cardinality vs. multiplicity.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.20 Cardinality constraints in E-R that cannot be represented using multiplicity in UML.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.21 Foreign keys in UML.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.22 IsA (or generalization) hierarchies in UML.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.23 UML representation of the participation constraint for class C in binary association type A.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.24 Participation constraints for ternary relationships.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.25 Aggregation: non-exclusive part-of association in UML.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.26 Composition: exclusive part-of association in UML.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.27 Summary of the UML notation.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.28 The IsA hierarchy of the PSSC enterprise.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.29 Client/broker information: first attempt.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.30 Client/broker information: second try.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.31 Trading information in the PSSC enterprise.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.32 Client/broker information in UML.

Figure 4.33 An E-R diagram for the Student Registration System.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.34 A schema for the Student Registration System—Part 1.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.35 A schema for the Student Registration System—Part 2.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.36 An alternative representation of the transcript information.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.37 Replacing the ternary relationship S OLD of Figure 4.2 with three binary relationships.

Copyright © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.38 E-R diagram for Exercise 4.17.