Uses Crows feet notation for ER Diagrams in ERwin

Similar documents
To identify entities and their relationships. To describe entities using attributes, multivalued attributes, derived attributes, and key attributes.

Database Design Process

Database Design Process

Chapter 2: Entity-Relationship Model. Entity Sets. " Example: specific person, company, event, plant

Database Management Systems

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

Concepts of Database Management Seventh Edition. Chapter 6 Database Design 2: Design Method

Designing Databases. Introduction

Unit 2.1. Data Analysis 1 - V Data Analysis 1. Dr Gordon Russell, Napier University

Data Modeling with Entity-Relationship Diagrams

Database Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys

CSC 742 Database Management Systems

The Entity-Relationship Model

Using Entity-Relationship Diagrams To Count Data Functions Ian Brown, CFPS Booz Allen Hamilton 8283 Greensboro Dr. McLean, VA USA

Outline. Data Modeling. Conceptual Design. ER Model Basics: Entities. ER Model Basics: Relationships. Ternary Relationships. Yanlei Diao UMass Amherst

A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams

Fundamentals of Database System

A brief overview of developing a conceptual data model as the first step in creating a relational database.

three Entity-Relationship Modeling chapter OVERVIEW CHAPTER

Doing database design with MySQL

Data Analysis 1. SET08104 Database Systems. Napier University

Entity - Relationship Modelling

The Relational Model. Why Study the Relational Model? Relational Database: Definitions. Chapter 3

The Relational Model. Why Study the Relational Model? Relational Database: Definitions

COMP 378 Database Systems Notes for Chapter 7 of Database System Concepts Database Design and the Entity-Relationship Model

A Comparative Analysis of Entity-Relationship Diagrams 1

EXTENDED LEARNING MODULE A

Data Modeling Basics

Select the Crow s Foot entity relationship diagram (ERD) option. Create the entities and define their components.

The E-R èentity-relationshipè data model views the real world as a set of basic objects èentitiesè and

Relational Database Concepts

Preview DESIGNING DATABASES WITH VISIO PROFESSIONAL: A TUTORIAL

The Relational Model. Ramakrishnan&Gehrke, Chapter 3 CS4320 1

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB

Lecture 6. SQL, Logical DB Design

Database Design Methodology

2. Conceptual Modeling using the Entity-Relationship Model

BİL 354 Veritabanı Sistemleri. Entity-Relationship Model

Data Modeling: Part 1. Entity Relationship (ER) Model

Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model

ER modelling, Weak Entities, Class Hierarchies, Aggregation

CA ERwin Data Modeler. Implementation Guide

Relational Schema Design

Database Systems. Session 3 Main Theme. Enterprise Data Modeling Using The Entity/Relationship (ER) Model. Dr. Jean-Claude Franchitti

SCHEMAS AND STATE OF THE DATABASE

Data Modeling. Database Systems: The Complete Book Ch ,

Entity Relationship Diagram

Foundations of Information Management

Data Modelling and E-R Diagrams

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations

Online Bagging and Boosting

IV. The (Extended) Entity-Relationship Model

Useful Number Systems

DATABASE MANAGEMENT SYSTEMS. Question Bank:

Business Database Systems

Requirement Analysis & Conceptual Database Design. Problem analysis Entity Relationship notation Integrity constraints Generalization

Databases Model the Real World. The Entity- Relationship Model. Conceptual Design. Steps in Database Design. ER Model Basics. ER Model Basics (Contd.

RELATIONSHIP STRENGTH

Fundamentals of Database Design

Lesson 8: Introduction to Databases E-R Data Modeling

Animated Courseware Support for Teaching Database Design

Method of supply chain optimization in E-commerce

Conceptual Design: Entity Relationship Models. Objectives. Overview

7.1 The Information system

Entity-Relationship Model

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

A. TRUE-FALSE: GROUP 2 PRACTICE EXAMPLES FOR THE REVIEW QUIZ:

not necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage

Lecture Notes INFORMATION RESOURCES

Red Hat Enterprise Linux: Creating a Scalable Open Source Storage Infrastructure

Lecture 12: Entity Relationship Modelling

Chapter 2: Entity-Relationship Model

Entity/Relationship Modelling. Database Systems Lecture 4 Natasha Alechina

Overview. Database Security. Relational Database Basics. Semantic Integrity Controls. Access Control Rules- Name dependent access

Toad Data Modeler - Features Matrix

Applying Multiple Neural Networks on Large Scale Data

Exercise 1: Relational Model

PREDICTION OF POSSIBLE CONGESTIONS IN SLA CREATION PROCESS

EQUIPMENT OVERVIEW... 4 SETTING UP CALL MANAGER...5

Review Entity-Relationship Diagrams and the Relational Model. Data Models. Review. Why Study the Relational Model? Steps in Database Design

Databases What the Specification Says

Entity-Relationship Model. Purpose of E/R Model. Entity Sets

Enhanced-ER Data Model

DATABASE DESIGN. - Developing database and information systems is performed using a development lifecycle, which consists of a series of steps.

The Entity-Relationship Model

Converting E-R Diagrams to Relational Model. Winter Lecture 17

XV. The Entity-Relationship Model

Fuzzy Sets in HR Management

On Development of Fuzzy Relational Database Applications

CPU Animation. Introduction. CPU skinning. CPUSkin Scalar:

CRM FACTORS ASSESSMENT USING ANALYTIC HIERARCHY PROCESS

How To Get A Loan From A Bank For Free

DATABASE INTRODUCTION

Collated Food Requirements. Received orders. Resolved orders. 4 Check for discrepancies * Unmatched orders

A Little Set Theory (Never Hurt Anybody)

Transcription:

ER odel Overview Entity types Attributes, keys Relationship types Weak entity types EER odel Outline Subclasses Specialization/Generalization Schea Design Single DB View integration in IS Uses Crows feet notation for ER Diagras in ERwin --The Entity Relationship Model(3)-- 1

Uses Crows feet notation for ER Diagras This is an alternative to the diaond representation of relationships. Diaond icons are replaced with lines, siplifying the ER schea. In ERwin, select IE -- Inforation Engineering Notation --The Entity Relationship Model(3)-- 2

Uses Crows feet notation for ER Diagras Intuition eans Entity eans Identifying relationship (one or zero to any) eans Many-to any relationship eans Non-identifying relationship (one or zero to any) --The Entity Relationship Model(3)-- 3

Uses Crows feet notation for ER Diagras in ERwin An identifying relationship is a relationship between two entities in which an instance of a child entity is identified through its association with a parent entity, which eans the child entity is dependent on the parent entity for its identify and cannot exist without it. In an identifying relationship, one instance of the parent entity is related to ultiple instances of the child. In IE notation, ERwin draws an identifying relationship line as a solid line with crows feet. --The Entity Relationship Model(3)-- 4

Uses Crows feet notation for ER Diagras in ERwin A non-identifying relationship is a relationship between two entities in which an instance of the child entity is not identified through its association with a parent entity, which eans the child entity is not dependent on the parent entity for its identify and can exist without it. In a non-identifying relationship, one instance of the parent entity is related to ultiple instances of the child. --The Entity Relationship Model(3)-- 5

Uses Crows feet notation for ER Diagras in ERwin In an optional nonidentifying relationship, the attributes that are igrated into the non-key area of the child entity are not required in the child entity. Therefore, nulls are allowed in the foreign key. --The Entity Relationship Model(3)-- 6

Uses Crows feet notation for ER Diagras in ERwin In a andatory nonidentifying relationship, the attributes that are igrated into the non-key area of the child entity are required in the child entity. Therefore, the foreign key cannot be null. --The Entity Relationship Model(3)-- 7

Many-To-One Relationship 1 A B C A The crow can be seen as a pictorial representation of "any". Each instance of the entity type A is associated with 0 or 1 instances of the entity type C. Each instance of the entity type C is associated with 0 to any instances of the entity type A. C --The Entity Relationship Model(3)-- 8

Many-To-Many Relationship A B C A C An instance of the entity type A is associated with possibly several instances of the entity type C. An instance of the entity type C is associated with possibly several instances of the entity type A. --The Entity Relationship Model(3)-- 9

Dependence An entity type that borrows a key is dependent. Needed for weak entity types 1 A B C A C --The Entity Relationship Model(3)-- 10

Many-To-Many Relationship, cont. Often any-to-any relationship types are resolved to two any-to-one relationship types by inserting an intersection entity type. A B C A B C Here, B is the intersection entity type. Note, it needs keys! This akes the conversion to tables easier, but can confuse the logical design. --The Entity Relationship Model(3)-- 11

Reducing Clutter on Entity Types In diaond notation, attributes occupy uch space ID DOB Custoer Nae Using ERwin, can extend entity type with attributes Custoer ID Nae DOB Note: have lost ability to odel ulti-valued, derived, and coposite attributes explicitly. --The Entity Relationship Model(3)-- 12

Other Notational Aspects Relationship types that have associated attributes ust be represented with intersection entity types. Details differ aong the various tools supporting variants of the Entity-Relationship scheas. For exaple, Soeties optional a dashed line is denoted with ("zero or") a circle. Cardinalities can soeties be placed at either end of a relationship arc. Other icons, such as sall diaonds, have specialized eanings. --The Entity Relationship Model(3)-- 13

CustoerID A DVD Store ER Schea TotalRes AountPaid ReturnDate Status NuCheckOuts Status CopyNu Custoer Rents DVD copy Nae Street City Address State Reserves n Copies 1 FilID Title Perforer n StarsIn Fil Kind Nae Role RentalPrice Distributor Director Date

Sae Schea convert to Erwin style --The Entity Relationship Model(3)-- 15

ER odel Overview Entity types Attributes, keys Relationship types Weak entity types Schea Design Single DB View integration in IS Outline Uses Crows feet notation for ER Diagras in ERwin --The Entity Relationship Model(3)-- 16