Database Management System 5 ER Modeling

Similar documents
A l Ain University Of Science and Technology

A l Ain University Of Science and Technology

Full file at Chapter 2: Foundation Concepts

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Using High-Level Conceptual Data Models for Database Design A Sample Database Application Entity Types, Entity Sets, Attributes, and Keys

1/24/2012. Chapter 7 Outline. Chapter 7 Outline (cont d.) CS 440: Database Management Systems

Chapter 4. In this chapter, you will learn:

THE ENTITY- RELATIONSHIP (ER) MODEL CHAPTER 7 (6/E) CHAPTER 3 (5/E)

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 4 Entity Relationship (ER) Modeling

System Analysis And Design Methods ENTITY RELATIONSHIP DIAGRAM (ERD) Prof. Ali Khaleghi Eng. Hadi Haedar

Database Management System 6 ER Modeling...

DATABASE SYSTEMS. Chapter 5 Entity Relationship (ER) Modelling DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT

Sahaj Computer Solutions. Data Modeling using the Entity Relationship Model

Data Modeling with the Entity Relationship Model. CS157A Chris Pollett Sept. 7, 2005.

Database Management System 15

Chapter 9: Relational DB Design byer/eer to Relational Mapping Relational Database Design Using ER-to- Relational Mapping Mapping EER Model

Chapter # 4 Entity Relationship (ER) Modeling

Conceptual Design. The Entity-Relationship (ER) Model

Conceptual Database Design. COSC 304 Introduction to Database Systems. Entity-Relationship Modeling. Entity-Relationship Modeling

Conceptual Data Models for Database Design

Relational Database Components

course 3 Levels of Database Design CSCI 403 Database Management Mines Courses ERD Attributes Entities title 9/26/2018

Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition. Chapter 7 Data Modeling with Entity Relationship Diagrams

Lecture 09. Spring 2018 Borough of Manhattan Community College

COSC 304 Introduction to Database Systems. Entity-Relationship Modeling

Data Modeling Using the Entity- Relationship Model Design & Analysis of Database Systems

More on the Chen Notation

Relational Model (cont d) & Entity Relational Model. Lecture 2

ER to Relational Mapping

Database Management Systems LECTURE NOTES 2

Database Design Using E/R Model

Intro to DB CHAPTER 6

Data Modeling Using the Entity-Relationship Model

LECTURE 3: ENTITY-RELATIONSHIP MODELING

CSE 530A. ER Model. Washington University Fall 2013

Chapter 3 Database Modeling and Design II. Database Modeling

Represent entities and relations with diagrams

Chapter 7: Entity-Relationship Model

Database Systems ER Model. A.R. Hurson 323 CS Building

Information Technology Audit & Cyber Security

Entity-Relationship Models

Entity-Relationship Model &

CS2 Current Technologies Lecture 5: Data Modelling and Design


Computer Science Applications to Cultural Heritage. Relational Databases

Fundamentals of Design, Implementation, and Management Tenth Edition

System Analysis & design

Informatics 1: Data & Analysis

E-R Model. Hi! Here in this lecture we are going to discuss about the E-R Model.

Chapter 6: Entity-Relationship Model. The Next Step: Designing DB Schema. Identifying Entities and their Attributes. The E-R Model.

Lecture3: Data Modeling Using the Entity-Relationship Model.

The Next Step: Designing DB Schema. Chapter 6: Entity-Relationship Model. The E-R Model. Identifying Entities and their Attributes.

The Entity Relationship Model

A database can be modeled as: + a collection of entities, + a set of relationships among entities.

DATA MODELING USING THE ENTITY-RELATIONSHIP MODEL. 1 Powered by POeT Solvers Limited

High Level Database Models

Data Analysis 1. Chapter 2.1 V3.1. Napier University Dr Gordon Russell

ER DIAGRAM ER) diagram, a graphical representation of entities and their relationships to each other, typically used in computing in regard to the

Advance Database Management System

4. Entity Relationship Model

2. DatabaseDesign. Master I Software Engineering. Dr. Imed Bouchrika Dept of Mathematics & Computer Science University of Souk-Ahras

Entity Relationship Modelling

Chapter 4. The Relational Model

Database Management System 9

IS 263 Database Concepts

CS3200 Database Design Spring 2018 Derbinsky. Entity-Relationship (ER) Diagrams. Lecture 7

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute

Chapter 6: Entity-Relationship Model. E-R Diagrams

Chapter 2: Entity-Relationship Model. Entity Sets. Entity Sets customer and loan. Attributes. Relationship Sets. A database can be modeled as:

ER-to-Relational Mapping

Relational Database Systems Part 01. Karine Reis Ferreira

Informatics 1: Data & Analysis

Conceptual Data Modeling

Relational Database Design Part I. Announcement. Relational model: review. CPS 116 Introduction to Database Systems

Modern Systems Analysis and Design Seventh Edition

Conceptual and Logical Design

Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts

DATABASE SYSTEMS CHAPTER 2 DATA MODELS 1 DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT

Data Modeling Using the Entity-Relationship (ER) Model

Announcement. Relational Database Design Part I. Keys. Relational model: review. Schema vs. data. More examples of keys

E-R Diagram. Bagian I Entity Concept

DATABASE SCHEMA DESIGN ENTITY-RELATIONSHIP MODEL. CS121: Relational Databases Fall 2017 Lecture 14

COMP102: Introduction to Databases, 9.1

Database Management System 10 Conversion of ER model to Relational Model

Topic 5: Mapping of EER Diagrams to Relations

Definition. 02. Data Modeling. Example ABC Company Database. Data Modeling Importance

Conceptual Database Design

Chapter 4 Entity Relationship Modeling In this chapter, you will learn:

OVERVIEW OF DATABASE DEVELOPMENT

System Concepts and Architecture. Rose-Hulman Institute of Technology Curt Clifton

Relational Database Design Part I. Announcements (September 5) Relational model: review. CPS 116 Introduction to Database Systems

Basic Structural Modeling. Copyright Joey Paquet,

Entity Relationship Modeling

Copyright 2016 Ramez Elmasr and Shamkant B. Navathei

Unit 2 - Data Modeling. Pratian Technologies (India) Pvt. Ltd.

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #5: Entity/Relational Models---Part 1

Lecturer 2: Spatial Concepts and Data Models

Non-overlappingoverlapping. Final outcome of the worked example On pages R&C pages R&C page 157 Fig 3.52

Chapter Outline. Note 1. Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts

Transcription:

ER ing Database Management System 5 ER ing School of Computer Engineering, KIIT University 5.1

ER ing The initial phase of database design is to characterize fully the data needs of the prospective database users. It usually involves in textual description 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. The ER model is typically used to represent the conceptual design The designer reviews the schema to confirm that all data requirements are satisfied and are not in conflict with one another At this stage of conceptual design, the designer can review the schema to ensure it meets all the functional requirements 5.2

... ER ing The process of moving from an abstract data model to the implementation of the database proceeds in two final design phases: In the logical design phase, the designer maps the high-level conceptual schema onto the implementation data model of the database system that will be used. The implementation data model is typically the Relational data model Finally, the designer uses the resulting system-specific database schema in the subsequent physical-design phase, in which the physical features of the database are specified 5.3

ER ing The ER model was developed to facilitate the database design by allowing specification of an enterprise schema that represents the overall logical structure of a database. The ER model is very much useful in mapping the meaning and interactions of real-world enterprises onto a conceptual schema Entities An entity is a thing or object in the real world that is distinguishable from all other objects, i.e. an entity is an object of interest to the end user. The set of similar types of entities is called entity set; which is represented by a rectangle containing the entity set s name. The entity set name, a noun, is usually written in all capital letters 5.4

... Attributes Attributes are characteristics of entities. Attributes are represented by ovals and are connected to the respective entity set with lines. In the conceptual modeling, the value of an attribute comes from a domain of possible values Relationships In modeling, the association between entities are referred to as relationship. The relationship name is a verb. A relationship set is a set of relationships of the same type. Relationship sets are represented by diamonds and are connected to the participant entity sets ER ing NULL Values An attribute takes a NULL value when an entity doesn t have a value for it. The NULL values may indicate not applicable, i.e. the value doesn t exist for the entity. NULL can also designate that an attribute value is unknown. An unknown value may be either missing or not known. NULL value is an entry in all the domains 5.5

Simple and Composite attributes An attribute that has a discrete factual value and cannot be meaningfully subdivided is called an atomic or simple attribute.on the other hand, a composite attribute can be meaningfully subdivided into smaller subparts (i.e. simple attributes) with independent meaning ER ing 5.6

... ER ing Single-valued and Multi-valued attributes Most attributes have a single value for a particular entity and are referred to as single-valued attribute. However, attributes that can have more than one value are known as multi-valued attributes. It is represented by double oval 5.7

... ER ing Stored and Derived attributes The attribute with independent existence is called as stored attribute where as the attribute, whose value is depending on other stored attribute, is called as derived attribute. The derived attribute is represented by the dotted oval 5.8

... ER ing Descriptive attributes A relationship may also have attributes called descriptive attributes for representing the description about the association 5.9

M:N relationship An entity in A is associated with any number (zero or more) of entities in B and vice versa ER ing 5.10

... 1:M relationship An entity in A is associated with any number (zero or more) of entities in B; an entity in B, however, is associated with no more than 1 entity set of A ER ing 5.11

... 1:1 relationship An entity in A is associated with no more than 1 entity of B; and an entity in B is associated with no more than 1 entity of A ER ing 5.12