Chapter 2: ER-Diagrams. Content: Learn how to draw ER diagrams Useful to model a database
|
|
- April Adams
- 5 years ago
- Views:
Transcription
1 Chapter 2: ER-Diagrams Content: Learn how to draw ER diagrams Useful to model a database 1
2 Database Design DBS can take care automatically of many things but the user has to specify Requirements of the application Characteristics of the data Two important concepts during DBS design: Data Model: How to describe the data? Data Schema: Concrete description of the data (using the chosen data model) 2
3 Data modeling Excerpt of the Real World Conceptual Schema (E/R- or UML-Schema) Manual/intellectual Modeling Semi-automatic Transformation Relational Schema XML Schema Network Schema Object-orientierted Schema 3
4 Modeling a small example application: E/R Students Lectures Real World: University Conceptual Modeling requires StudNr Name Students attend Lectures LectureNr Title 4
5 Logical Data Models Network Model Hierarchical Model Relational Data Model XML Model Object-orientierted Data Model Object-relational Schema Deductive Data Model * [Michael Stonebraker: What Goes Around Comes Around] 5
6 Relational Data Model Students StudNr Name Fichte Jonas attend StudNr Lecture Nr Lecture Nr Lectures Title Grundzüge Glaube und Wissen... Select Name From Students, attend, Lectures Where Students.StudNr = attend.studnr and attend.lecturenr = Lectures.LectureNr and Lectures.Title = Grundzüge ; 6
7 Modeling a small example application: UML Students Real World: University Lectures Students +StudNr : int +Name : String +Semester : int +GPA() : float +SumWeeklyHours() : short +Attendee 1..* attend * +Successor * Lectures +LectureNr : int +Title : String +WeeklyHours : int requires * +NumberAttendees() : int +FailureRate() : float 7
8 Database Design Database Abstraction Layers 1. Conceptual Design 2. Logical Design 3. Physical Database Design 8
9 Phases of Database Design Information Requirements Att1 Relation Att2 Processing Requirements Requirements Engineering Scope Statement Conceptual Modeling Conceptual ER Schema Design Logical Modeling Logical Schema Logical Design Physical Modeling Physical Database Design DBMS- Characteristics Hardware/OS- Characteristics 9
10 Software Development and Ability to Communicate 10
11 Schema Design Approach in principle: Information Requirements Semantical Data Modeling Coarse Grain Data Modeling Semantical Fine Grain Data Analysis Modeling Logical Data Modeling Database Installation / Tuning Time - Interview - Brainstorming - Document s Analy. - - ERM - Hierarchical - UML - Conceptual Schema Design - network - relational - object-oriented -. Logical Schema Design - IMS - UDS - DB2 - Ozone - Physical Schema Design 11
12 Requirements Engineering Entity description Relation description Process description 12
13 Entity Description University Employees -Quantity: Attributes vempnumber Type: Integer Domain: Defined: 100% Identifying: yes Example: 007 vsalary Type: decimal Length: (7,2) Unit: Euro per month Defined: 10% Identifying: no vlevel Type: String Length: 2 Defined: 100% Identifying: no Example: W2 13
14 Relation Description: exam Involved Objects: - Professor as Tester - Student as Testee - Lecture as Test Subject Attributes of the Relation: - Date - Time - Grade Quantity: per year 14
15 Process Description : Issue a Certificate - Frequency: semiannually - Required Data * Tests * Examination Rules * Student s Records *... - Priority: high - Data Volume to be processed * 500 Students * 3000 Tests * 10 Versions of Examination Rules 15
16 Creating a Specification The actual analysis is an iterative process: Customer tells developer his/her needs Developer notes everything down (s/he understood) in his/her language" and translates it into the " language" of the customer This is shown to the customer who does not agree with everything Change requests are agreed on Back to step 2 16
17 Phases of Database Design Information Requirements Att1 Relation Att2 Processing Requirements Requirements Engineering Scope Statement Conceptual Modeling Conceptual ER Schema Design Logical Modeling Logical Schema Logical Design Physical Modeling Physical Database Design DBMS- Characteristics Hardware/OS- Characteristics 17
18 Conceptual Design The ideal design (the ideal specification) is unique complete comprehensible (for all participants) nonredundant... and not reachable in reality 18
19 Entity/Relationship-Modeling Entity Relationship Attribute (property) Key (identification) StudNr Name Semester Students attend Attendee Lectures Role LectureNr Title Weekly hours 19
20 University Schema StudNr Name Students prerequisite attend require Lectures followup LectureNr Weekly Hours Semester Title Grade test give PersNr Name Area Assistants work-for Professors PersNr Name Level Room 20
21 21
22 Functionalities E 1 R E 2 R Í E 1 x E 2 1:1 E 1 E 2 1:N N:1 N:M 22
23 Relationship 1:1 Relationship 1:1 E 1 1 R 1 E 2 e 1 out of E 1 takes part in 1 relation of type R e 2 out of E 2 takes part in 1 relation of type R Example: Car 1 has 1 License Plate one car has one license plate one license plate belongs to one car 23
24 Relationship 1:N Relationship 1:N E 1 1 R N E 2 e 1 out of E 1 takes part in N relations of type R e 2 out of E 2 takes part in 1 relation of type R Example: Mentors 1 advise N Students one mentor advises several students one student is advised by one mentor 24
25 Relationship N:M Relationship N:M E 1 N R M E 2 e 1 out of E 1 takes part in M relations of type R e 2 out of E 2 takes part in N relation of type R Example: Actors N stars M Movies one actor stars in several movies one movie has several actors 25
26 Recursive Relationship 1:N Relationship 1:N E 1 e 1 out of E 1 takes part in role A in N relations of type R e 1 out of E 1 takes part in role B in 1 relation of type R Example: Persons role A role B mother child rel-ship one person is mother of several persons (children) one person is child of one person (mother) 1 N 1 N R 26
27 Functionalities in n-ary Relationships E 1 P N M E n R E 2 1 E k R : E 1 x... x E k-1 x E k+1 x... x E n E k 27
28 Example Seminar Students N supervise 1 1 Professors Topics Grade supervise : Professors x Students Topics supervise : Topics x Students Professors 28
29 Thereby induced Consistency Constraints 1. Students may work on only one topic with the same professor (to cover a broad spectrum) 2. Students may work on the same topic only once thus they may not work on the same topic again with another professor 3. Professors can reuse the same topic i.e. give the same topic to different students 4. One topic can be given by different professors but to different students 29
30 Occurrence of the Relationship supervise p 1 Students b 1 p 2 Professors s 1 b 2 p 3 s 2 b 3 p 4 s 3 b 4 s 4 Dashed lines represent illegal occurrences b 5 b 6 t 1 t 2 t 3 t 4 Topics 30
31 One more Example 3-ary relationship: Patients perform N 1 Checkup 1 Experts One checkup is performed by one expert with several patients One Patient gets only one checkup from one expert One checkup is performed at one patient only by one expert 31
32 University Schema StudNr Name Semester Students N N prerequisite attend M require followup N M M Lectures M N LectureNr Weekly hours Title Grade test give PersNr Name Area Assistants N work-for Professors PersNr Name Level Room 32
33 (min, max)-notation E 1 E n (min n, max n ) R (min 1 max 1 ) (min 2, max 2 ) E 2 (min i, max i ) E i R Í E 1 x... x E i x... x E n For every e i Î E i there are at least min i tuples (..., e i,...) Î R and at most max i tuples (..., e i,...)î R 33
34 Example (min, max) Mentors advise [0, 20] [1, 1] Students one mentor advises up to 20 students one student is advised by exactly one mentor 34
35 Excercise for next class Inform yourself about unary binary ternary relationships Discussion / new examples next class! 35
36 Weak Entities Height BldNr RoomNr 1 N Buildings located_in Rooms Size Relationship between "strong" and "weak " type is 1:N (or 1:1 in rare cases) - why not N:M? The existence of a room depends on the existence of the associated building RoomNr is unique only within the building Key of Rooms is: RoomNr and BldNr 36
37 Tests as weak entity type Students 1 write N Tests Grade TestId StudNr consist-of N N give LectureNr M M PersNr Lectures Professors Several professors design one test Several lectures are inquired in one test 37
38 Generalization Generalization / Specialization: G Is-a S S is a specialization of G Example: animal Is-a cat 38
39 Generalization University Name University-Members is-a Students Employees PersNr StudNr is-a Area Assistents Professors Level Room 39
40 Conclusion University schema with generalization and (min, max)- notation è Nextpage 40
41 StudNr Name Semester Area Students attend (0,*) (3,*) require (0,*) (0,*) prerequisite (0,*) (0,*) Lectures followup (1,1) Grade test give (0,*) (0,*) (1,1) (0,*) Assistants work-for Professors LectureNr Weekly hours Title Level Room PersNr Name is-a Employees
42 Aggregation Bikes Part-of Part-of Frames Wheels Part-of Part-of Part-of Part-of Pipes Handlebars Rims Spokes
43 Non-mot. Vehicles is-a Vehicles is-a Aggregation and Generalization Mot. Vehicles is-a Bikes Part-of Motorbikes Part-of Automobiles Frames Wheels Part-of Part-of Part-of Part-of Pipes Handlebars Rims Spokes
44 Where are we? Information Requirements Att1 Relation Att2 Processing Requirements Requirements Engineering Scope Statement Conceptual Modeling Conceptual ER Schema Design Logical Modeling Logical Schema Logical Design Physical Modeling Physical Database Design DBMS- Characteristics Hardware/OS- Characteristics
45 Min,max Notation and Functionalities Polygon N (3, *) squareid borders M (1, 2) Edge N (2, 2) edgeid begin/end M (2, *) Point x y z Min-max: A Polygon has at least 3 Edges. An Edge has 1 or 2 Polygons. 45
46 Design criteria Rules for classification of entities and attributes: Entities should contain descriptive information Multi valued attributes should be classified as entities Attribute should be assigned to that Entity which describes it most directly Redundant relationships should be avoided However, it always depends on the application
47 Example: Order As entity: Client 1 places N Order M for_a As relationship: Client M order N Product 1 Product As attribute: orderid Client M buy N Product
48 Exercise Sheet 2
49 Exercise Sheet 2 address #beds name Hospital 1 consists_of N Department 1 has M employs N Employee is_a N works salary id is_a N Shift 1 data from to M runs number number N Station 1 contains N Room 1 Nurse N supervises M N Doctor 1 has
50 Exercise Sheet 2 A M R 1 B N c
Data modeling. Excerpt of the Real World. Manual/intellectual Modeling. Conceptual Schema (E/R- or UML-Schema) Transformation
Data modeling Excerpt of the Real World Conceptual Schema (E/R- or UML-Schema) Manual/intellectual ll l Modeling Semi-automatic Transformation Relational XML etwork Object-orientierted Sh Schema Sh Schema
More informationChapter 2. Database Design. Database Systems p. 25/540
Chapter 2 Database Design Database Systems p. 25/540 Database Design Phases requirements analysis specification conceptual design conceptual schema logical design logical schema physical design physical
More informationE-R Model. Hi! Here in this lecture we are going to discuss about the E-R Model.
E-R Model Hi! Here in this lecture we are going to discuss about the E-R Model. What is Entity-Relationship Model? The entity-relationship model is useful because, as we will soon see, it facilitates communication
More informationEntity Relationship Diagram (ERD): Basics
Entity Relationship Diagram (ERD): Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 Overview: 3 Level Database Design Creating an Entity Relationship Diagram (ERD) and associated data dictionary
More informationConceptual Modeling in ER and UML
Courses B0B36DBS, A7B36DBS: Database Systems Practical Classes 01 and 02: Conceptual Modeling in ER and UML Martin Svoboda 21. and 28. 2. 2017 Faculty of Electrical Engineering, Czech Technical University
More informationThe Entity/Relationship (E/R) Model & DB Design. csc343, Introduction to Databases Renée J. Miller and Fatemeh Nargesian and Sina Meraji Winter 2018
The Entity/Relationship (E/R) Model & DB Design csc343, Introduction to Databases Renée J. Miller and Fatemeh Nargesian and Sina Meraji Winter 2018 Overview Using the Entity/Relationship (ER) Model to
More informationUsing High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys
Chapter 7: Data Modeling Using the Entity- Relationship (ER) Model Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys
More informationXV. The Entity-Relationship Model
XV. The Entity-Relationship Model The Entity-Relationship Model Entities, Relationships and Attributes Cardinalities, Identifiers and Generalization Documentation of E-R Diagrams and Business Rules Acknowledgment:
More informationRepresent entities and relations with diagrams
LEARNING OBJECTIVES Define data modeling terms Describe E-R Model Identify entities and relations Represent entities and relations with diagrams WHAT IS DATA MODELING? A data model is a collection of concepts
More informationDATABASE SYSTEMS. Chapter 5 Entity Relationship (ER) Modelling DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT
DATABASE SYSTEMS DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT Chapter 5 Entity Relationship (ER) Modelling 1 Coronel & Crockett 978184480731) In this chapter, you will
More informationChapter 4. In this chapter, you will learn:
Chapter Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel 1 In this chapter, you will learn: The main characteristics of entity
More informationData Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell
Data Analysis 1 Chapter 2.1 V3.1 Copyright @ Napier University Dr Gordon Russell Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is
More informationHow to define a relational schema for a data base?
How to define a relational schema for a data base? 1 Professors Students Lectures PersNr Name Level Room StudNr Name Semester Lecture Title 2125 Sokrates C4 226 24002 Xenokrates 18 Nr 2126 Russel C4 232
More informationEntity Relationship Modelling
Entity Relationship Modelling Overview Database Analysis Life Cycle Components of an Entity Relationship Diagram What is a relationship? Entities, attributes, and relationships in a system The degree of
More information2004 John Mylopoulos. The Entity-Relationship Model John Mylopoulos. The Entity-Relationship Model John Mylopoulos
XVI. The Entity-Relationship Model The Entity Relationship Model The Entity-Relationship Model Entities, Relationships and Attributes Cardinalities, Identifiers and Generalization Documentation of E-R
More informationAgenda: Understanding Relationship Types Degree and Cardinality with Examples
Data Processing AAOC C311 I Semester 2012 2013 CLASS 4 Agenda: Understanding Relationship Types Degree and Cardinality with Examples Prentice Hall, 2002 1 More on Relationships (A set of meaningful associations
More informationCS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1
CS 4604: Introduction to Database Management Systems B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1 E/R: NOT IN BOOK! IMPORTANT: Follow only lecture slides for this topic! Differences
More informationOverview of Database Design Process Example Database Application (COMPANY) ER Model Concepts
Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity Types, Value Sets, and Key Attributes Relationships and Relationship
More informationContent: How to transform the relational model into a database schema DDL: create table students(studentnr int, name varchar);
Chapter 5: Relational Database Definition Content: How to transform the relational model into a database schema DDL: create table students(studentnr int, name varchar); Next: Query the database 1 How to
More informationMIS Database Systems Entity-Relationship Model.
MIS 335 - Database Systems Entity-Relationship Model http://www.mis.boun.edu.tr/durahim/ Ahmet Onur Durahim Learning Objectives Database Design Main concepts in the ER model? ER Diagrams Database Design
More informationDatabase Systems. Overview - important points. Lecture 5. Some introductory information ERD diagrams Normalization Other stuff 08/03/2015
Lecture 5 Database Systems Instructor: M.Imran Khalil Imrankhalil3@gmail.com Resource:Imrankhalil3.wordpress.com University of Sargodha Canal Campus Lahore Overview - important points Some introductory
More informationObjectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute
Logical database design and the relational model Objectives of logical design... Translate the conceptual design into a logical database design that can be implemented on a chosen DBMS Input: conceptual
More informationA l Ain University Of Science and Technology
A l Ain University Of Science and Technology 4 Handout(4) Database Management Principles and Applications The Entity Relationship (ER) Model http://alainauh.webs.com/ http://www.comp.nus.edu.sg/~lingt
More informationChapter 2 Conceptual Modeling. Objectives
Chapter 2 Conceptual Modeling Basic Entity Relationship Diagrams 1 Objectives Definition of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling 4.1 The Entity Relationship Model (ERM) ER model forms the basis of an ER diagram ERD
More informationConceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling
COSC 304 Introduction to Database Systems Entity-Relationship Modeling Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Conceptual Database Design Conceptual database design
More information1/24/2012. Chapter 7 Outline. Chapter 7 Outline (cont d.) CS 440: Database Management Systems
CS 440: Database Management Systems Chapter 7 Outline Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys Relationship
More informationSOFTWARE ENGINEERING Prof.N.L.Sarda Computer Science & Engineering IIT Bombay. Lecture #10 Process Modelling DFD, Function Decomp (Part 2)
SOFTWARE ENGINEERING Prof.N.L.Sarda Computer Science & Engineering IIT Bombay Lecture #10 Process Modelling DFD, Function Decomp (Part 2) Let us continue with the data modeling topic. So far we have seen
More informationConceptual Data Modeling and the Entity- Relationship Model. Department of Computer Science Northern Illinois University September 2014
Conceptual Data Modeling and the Entity- Relationship Model Department of Computer Science Northern Illinois University September 2014 Data Models A means of describing the structure of the data A set
More informationEntity-Relationship Model. From Chapter 5, Kroenke book
Entity-Relationship Model From Chapter 5, Kroenke book Database Design Process Requirements analysis Conceptual design data model Logical design Schema refinement: Normalization Physical tuning Problem:
More informationDatabase Design with Entity Relationship Model
Database Design with Entity Relationship Model Vijay Kumar SICE, Computer Networking University of Missouri-Kansas City Kansas City, MO kumarv@umkc.edu Database Design Process Database design process integrates
More informationChapter Outline. Note 1. Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts
Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity Types, Value Sets, and Key Attributes Relationships and Relationship
More informationThe Entity-Relationship Model. Steps in Database Design
The Entity-Relationship Model Steps in Database Design 1) Requirement Analysis Identify the data that needs to be stored data requirements Identify the operations that need to be executed on the data functional
More informationcourse 3 Levels of Database Design CSCI 403 Database Management Mines Courses ERD Attributes Entities title 9/26/2018
3 Levels of Database Design CSCI 403 Database Management 13 Database Modeling with Entity-Relationship Diagrams Conceptual (this lecture) Understand data entities & relationships between them Communication
More informationA l Ain University Of Science and Technology
A l Ain University Of Science and Technology 4 Handout(4) Database Management Principles and Applications The Entity Relationship (ER) Model http://alainauh.webs.com/ 1 In this chapter, you will learn:
More informationDatabase Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 4 Entity Relationship (ER) Modeling Objectives In this chapter, students will learn: The main characteristics of entity relationship
More informationConceptual Database Modeling
Course A7B36DBS: Database Systems Lecture 01: Conceptual Database Modeling Martin Svoboda Irena Holubová Tomáš Skopal Faculty of Electrical Engineering, Czech Technical University in Prague Course Plan
More informationRequirement Analysis & Conceptual Database Design
Requirement Analysis & Conceptual Database Design Problem analysis Entity Relationship notation Integrity constraints Generalization Introduction: Lifecycle Requirement analysis Conceptual Design Logical
More informationChapter 7: Entity-Relationship Model
Chapter 7: Entity-Relationship Model, 7th Ed. See www.db-book.com for conditions on re-use Chapter 7: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram Design Issues Weak Entity
More informationModule 2 : Entity-Relationship Model 15
Module 2 : Entity-Relationship Model 15 Module-02 Entity Relationship Data Model 2.1 Motivation Data modeling is an essential step in the process of creating any Database Application. It helps Database
More informationCOSC 304 Introduction to Database Systems. Entity-Relationship Modeling
COSC 304 Introduction to Database Systems Entity-Relationship Modeling Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Conceptual Database Design Conceptual database design
More informationCOMP Instructor: Dimitris Papadias WWW page:
COMP 5311 Instructor: Dimitris Papadias WWW page: http://www.cse.ust.hk/~dimitris/5311/5311.html Textbook Database System Concepts, A. Silberschatz, H. Korth, and S. Sudarshan. Reference Database Management
More informationSystem Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar
1 System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar Overview DATABASE ARCHITECTURE 2 External level concerned with the way individual users see the
More informationInformation Systems (Informationssysteme)
Information Systems (Informationssysteme) Jens Teubner, TU Dortmund jensteubner@cstu-dortmundde Summer 2018 c Jens Teubner Information Systems Summer 2018 1 Part IV Database Design c Jens Teubner Information
More informationDatabase Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams
Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 7 Data Modeling with Entity Relationship Diagrams Objectives In this chapter, students will learn: The
More informationCIS 330: Web-driven Web Applications. Lecture 2: Introduction to ER Modeling
CIS 330: Web-driven Web Applications Lecture 2: Introduction to ER Modeling 1 Goals of This Lecture Understand ER modeling 2 Last Lecture Why Store Data in a DBMS? Transactions (concurrent data access,
More informationTHE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E)
THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E) 2 CHAPTER 7 OUTLINE Using High-Level, Conceptual Data Models for Database Design Entity-Relationship (ER) model Popular high-level conceptual
More informationLECTURE 3: ENTITY-RELATIONSHIP MODELING
LECTURE 3: ENTITY-RELATIONSHIP MODELING Ref. Chapter11 + Appendix F from Database Systems: A Practical Approach to Design, Implementation and Management. Thomas Connolly, Carolyn Begg. 1 IS220 : D a t
More informationSOLUTIONS TO REVIEW QUESTIONS AND EXERCISES FOR PART 3 - DATABASE ANALYSIS AND DESIGN (CHAPTERS 10 15)
Instant download and all chapters Solutions Manual Database Systems A Practical Approach to Design, Implementation, and Management 6th Edition Thomas Connolly https://testbankdata.com/download/solutions-manual-database-systems-practicalapproach-design-implementation-management-6th-edition-thomas-connolly/
More informationWeak Entity Sets. A weak entity is an entity that cannot exist in a database unless another type of entity also exists in that database.
Weak Entity Sets A weak entity is an entity that cannot exist in a database unless another type of entity also exists in that database. Weak entity meets two conditions Existence-dependent Cannot exist
More informationCMSC 424 Database design Lecture 3: Entity-Relationship Model. Book: Chap. 1 and 6. Mihai Pop
CMSC 424 Database design Lecture 3: Entity-Relationship Model Book: Chap. 1 and 6 Mihai Pop Database Design Steps Entity-relationship Model Typically used for conceptual database design info Conceptual
More information0. Database Systems 1.1 Introduction to DBMS Information is one of the most valuable resources in this information age! How do we effectively and efficiently manage this information? - How does Wal-Mart
More informationKDI EER: The Extended ER Model
KDI EER: The Extended ER Model Fausto Giunchiglia and Mattia Fumagallli University of Trento 0/61 Extended Entity Relationship Model The Extended Entity-Relationship (EER) model is a conceptual (or semantic)
More informationCMPT 354 Database Systems I
CMPT 354 Database Systems I Chapter 2 Entity Relationship Data Modeling Data models A data model is the specifications for designing data organization in a system. Specify database schema using a data
More informationRelational Database Systems 1
Relational Database Systems 1 Wolf-Tilo Balke Jan-Christoph Kalo Institut für Informationssysteme Technische Universität Braunschweig www.ifis.cs.tu-bs.de Summary last week Databases are logical interfaces
More informationChapter 2: Entity-Relationship Model
Chapter 2: Entity-Relationship Model! Entity Sets! Relationship Sets! Design Issues! Mapping Constraints! Keys! E-R Diagram! Extended E-R Features! Design of an E-R Database Schema! Reduction of an E-R
More informationAssignment 1: Entity-Relationship Model Solution
Data odelling and Databases Exercise dates: arch /arch 2, 208 Ce Zhang, Gustavo Alonso Last update: arch 08, 208 Spring Semester 208 Head TA: Ingo üller Assignment : Entity-Relationship odel Solution This
More informationCOMP102: Introduction to Databases, 9.1
COMP102: Introduction to Databases, 9.1 Dr Muhammad Sulaiman Khan Department of Computer Science University of Liverpool U.K. 21/22 February, 2011 Database Analysis and Design Techniques: Entity-Relationship
More informationThe Entity-Relationship Model. The Entity-Relationship model. The ER model. The Entity-Relationship model. E-R Model Constructs. E-R Model Constructs
The Entity-Relationship Model Conceptual Data Modeling The Entity-Relationship model The E-R model is a detailed, logical representation of the data for an organisation or business area It should be understandable
More informationLecture3: Data Modeling Using the Entity-Relationship Model.
College of Computer and Information Sciences - Information Systems Dept. Lecture3: Data Modeling Using the Entity-Relationship Model. Ref. Chapter12 Prepared by L. Nouf Almujally & Aisha AlArfaj Rev. by
More informationChapter 6: Entity-Relationship Model
Chapter 6: Entity-Relationship Model Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 6: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationDatabase Systems ER Model. A.R. Hurson 323 CS Building
ER Model A.R. Hurson 323 CS Building Database Design Data model is a group of concepts that helps to specify the structure of a database and a set of associated operations allowing data retrieval and data
More informationRelated download: Instructor Manual for Modern Database Management 12th Edition by Hoffer Venkataraman Topi (Case studies included)
Modern Database Management Test Bank, 12e (Hoffer) Completed download: https://testbankarea.com/download/modern-database-management-12thedition-test-bank-hoffer-venkataraman-topi/ Related download: Instructor
More informationIS 263 Database Concepts
IS 263 Database Concepts Lecture 1: Database Design Instructor: Henry Kalisti 1 Department of Computer Science and Engineering The Entity-Relationship Model? 2 Introduction to Data Modeling Semantic data
More informationNon-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52
Objectives Computer Science 202 Database Systems: Entity Relation Modelling To learn what a conceptual model is and what its purpose is. To learn the difference between internal models and external models.
More informationUnit I. By Prof.Sushila Aghav MIT
Unit I By Prof.Sushila Aghav MIT Introduction The Need for Databases Data Models Relational Databases Database Design Storage Manager Query Processing Transaction Manager DBMS Applications DBMS contains
More informationUnit1: Introduction. Database System Concepts, 6 th Ed. Silberschatz, Korth and Sudarshan See for conditions on re-use
Unit1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Outline Introduction to Database Management Systems, Purpose of Database Systems, Database-System Applications,
More informationChapter 1: The Database Environment
Chapter 1: The Database Environment Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden Prentice Hall, 2002 1 Definitions Data: Meaningful facts, text, graphics,
More informationLecture 09. Spring 2018 Borough of Manhattan Community College
Lecture 09 Spring 2018 Borough of Manhattan Community College 1 Entity Relationship Modeling The Entity Relationship (ER) is a nontechnical communication model that describes the nature of the data and
More informationDatabase Management Systems. Chapter 2 Part 2
Database Management Systems Chapter 2 Part 2 Introduction to Database Design Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Class Hierarchies Classify entities sets into Super-class and
More informationDatabases Model the Real World. The Entity- Relationship Model. Conceptual Design. Steps in Database Design. ER Model Basics. ER Model Basics (Contd.
The Entity- Relationship Model R &G - Chapter 2 A relationship, I think, is like a shark, you know? It has to constantly move forward or it dies. And I think what we got on our hands is a dead shark. Woody
More informationChapter 7: Entity-Relationship Model
Chapter 7: Entity-Relationship Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 7: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationCPSC 211, Sections : Data Structures and Implementations, Honors Final Exam May 4, 2001
CPSC 211, Sections 201 203: Data Structures and Implementations, Honors Final Exam May 4, 2001 Name: Section: Instructions: 1. This is a closed book exam. Do not use any notes or books. Do not confer with
More informationData Modeling Using the Entity-Relationship (ER) Model
CHAPTER 3 Data Modeling Using the Entity-Relationship (ER) Model Copyright 2017 Ramez Elmasri and Shamkant B. Navathe Slide 1-1 Chapter Outline Overview of Database Design Process Example Database Application
More informationUnit 2 - Data Modeling. Pratian Technologies (India) Pvt. Ltd.
Unit 2 - Data Modeling Pratian Technologies (India) Pvt. Ltd. Topics Information Engineering Approaches to IS Developments SDLC Prototyping ER Modeling Why Data Modeling? Definition Information Engineering
More informationChapter 7: Entity-Relationship Model
Chapter 7: Entity-Relationship Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 7: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationObjectives Definition iti of terms Importance of data modeling Write good names and definitions for entities, relationships, and attributes Distinguis
Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Heikki Topi 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Objectives
More informationChapter 7: Entity-Relationship Model
Chapter 7: Entity-Relationship Model Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Chapter 7: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationChapter 2 ENTITY RELATIONSHIP MODEL
INTRODUCTION Chapter 2 ENTITY RELATIONSHIP MODEL Data model is used to describe data, data relationship and constraints on data. A number of different data models have proposed. They can broadly be classified
More informationHigh Level Database Models
ICS 321 Fall 2011 High Level Database Models Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 9/21/2011 Lipyeow Lim -- University of Hawaii at Manoa 1 Database
More informationLAB 2 Notes. Conceptual Design ER. Logical DB Design (relational) Schema Refinement. Physical DD
LAB 2 Notes For students that were not present in the first lab TA Web page updated : http://www.cs.ucr.edu/~cs166/ Mailing list Signup: http://www.cs.ucr.edu/mailman/listinfo/cs166 The general idea of
More informationCardinality constraints,n:m notation
2 Conceptual Database Design 2.3 Integrity Constraints 2.3. Constraint types 2.3.2 Cardinality constraints 2.4 Extended ER Modeling 2.4. Inheritance / Generalization 2.4.2 Modeling historical data 2.4.3
More informationRelational Database Design Part I. Announcement. Relational model: review. CPS 116 Introduction to Database Systems
Relational Database Design Part I CPS 116 Introduction to Database Systems Announcement 2 DB2 accounts created; change your password! Let me know if you have NOT received the email Pick up Gradiance registration
More informationChapter 6: Entity-Relationship Model
Chapter 6: Entity-Relationship Model Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 6: Entity-Relationship Model Design Process Modeling Constraints E-R Diagram
More informationCS/INFO 330 Entity-Relationship Modeling. Announcements. Goals of This Lecture. Mirek Riedewald
CS/INFO 330 Entity-Relationship Modeling Mirek Riedewald mirek@cs.cornell.edu Announcements Office hour update (see class homepage) First homework assignment will be available from CMS later today Some
More informationRelational Database Systems 1
Relational Database Systems 1 Wolf-Tilo Balke Christoph Lofi Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de Data Modeling Introduction Basic ER Modeling
More informationMTAT Introduction to Databases
MTAT.03.105 Introduction to Databases Lecture #4 Entity-Relationship Modelling Ljubov Jaanuska (ljubov.jaanuska@ut.ee) Lecture 3. Summary So far we have been dealing with a relational database (PCA.db)
More informationDatabase Systems. Lecture2:E-R model. Juan Huo( 霍娟 )
Database Systems Lecture2:E-R model Juan Huo( 霍娟 ) Reference slides: http://www.cs.wisc.edu/ dbbook Berkeley, Professor Eben Haber,Professor Mary Roth Review: Benefits of a DBMS 1. Data independence applications
More informationConceptual Data Modeling
Conceptual Data odeling A data model is a way to describe the structure of the data. In models that are implemented it includes a set of operations that manipulate the data. A Data odel is a combination
More informationCS Database Design - Assignments #3 Due on 30 March 2015 (Monday)
CS422 - Database Design - Assignments #3 Due on 30 March 205 (Monday) The solutions must be hand written, no computer printout, and no photocopy.. (From CJ Date s book 4th edition, page 536) Figure represents
More informationIntroduction to Data Management. Lecture #3 (Conceptual DB Design)
Introduction to Data Management Lecture #3 (Conceptual DB Design) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements Reminders: Sign
More informationIntroduction to Data Management. Lecture #3 (Conceptual DB Design)
Introduction to Data Management Lecture #3 (Conceptual DB Design) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements Today s plan:
More informationConceptual Data Models for Database Design
Conceptual Data Models for Database Design Entity Relationship (ER) Model The most popular high-level conceptual data model is the ER model. It is frequently used for the conceptual design of database
More informationThe DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.
Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting
More informationIntro to DB CHAPTER 6
Intro to DB CHAPTER 6 DATABASE DESIGN &THEER E-R MODEL Chapter 6. Entity Relationship Model Design Process Modeling Constraints E-R Diagram Design Issues Weak Entity Sets Extended E-R Features Design of
More informationFull file at
Modern Database Management, 10e (Hoffer/Ramesh/Topi) Chapter 2 Modeling Data in the Organization 1) Data modeling may be the most important part of the systems development process because: A) data characteristics
More informationII. Data Models. Importance of Data Models. Entity Set (and its attributes) Data Modeling and Data Models. Data Model Basic Building Blocks
Data Modeling and Data Models II. Data Models Model: Abstraction of a real-world object or event Data modeling: Iterative and progressive process of creating a specific data model for a specific problem
More informationDATA MODELS FOR SEMISTRUCTURED DATA
Chapter 2 DATA MODELS FOR SEMISTRUCTURED DATA Traditionally, real world semantics are captured in a data model, and mapped to the database schema. The real world semantics are modeled as constraints and
More informationIntroduction to Data Management. Lecture #3 (Conceptual DB Design) Instructor: Chen Li
Introduction to Data Management Lecture #3 (Conceptual DB Design) Instructor: Chen Li 1 Announcements v HW #1 is now available v Today s plan Conceptual DB design, cont. Advanced ER concepts 2 Weak Entities
More informationEntity Relationship Data Model. Slides by: Shree Jaswal
Entity Relationship Data Model Slides by: Shree Jaswal Topics: Conceptual Modeling of a database, The Entity-Relationship (ER) Model, Entity Types, Entity Sets, Attributes, and Keys, Relationship Types,
More information