The Entity-Relation Diagram (ERD)

Similar documents
6-1. Process Modeling

LECTURE 11: PROCESS MODELING

Data Flow Diagrams. Outline. Some Rules for External Entities 1/25/2010. Mechanics

D6 INFORMATION SYSTEMS DEVELOPMENT. SOLUTIONS & MARKING SCHEME. June 2013

1. Process Modeling. Process Modeling (Cont.) Content. Chapter 7 Structuring System Process Requirements

Why Data Flow Diagrams?

Topic # 08. Structuring System Process Requirements. CIS Life Cycle and Requirements Structuring Stage

Modern Systems Analysis and Design

Entity/Relationship Modelling. Database Systems Lecture 4 Natasha Alechina

Welcome to the Data Analytics Toolkit PowerPoint presentation on EHR architecture and meaningful use.

Chapter 7: Structuring System Process Requirements

Data Analysis 1. SET08104 Database Systems. Napier University

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur. School of Computing, Department of IT

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

APPENDIX A Data Modeling

Why & How: Business Data Modelling. It should be a requirement of the job that business analysts document process AND data requirements

Process Modeling. Chapter 6. (with additions by Yale Braunstein) Slide 1

1 Class Diagrams and Entity Relationship Diagrams (ERD)

Developing Entity Relationship Diagrams (ERDs)

An Automatic Tool for Checking Consistency between Data Flow Diagrams (DFDs)

CSC 342 Semester I: H ( G)

CA IDMS. Database Design Guide. Release , 2nd Edition

Objectives After completion of study of this unit you should be able to:

SYSTEMS ANALYSIS AND DESIGN COURSE OUTLINE

DATABASE INTRODUCTION

LOGICAL DATABASE DESIGN

Process and Database Modelling of a University Bursary System: A Perspective of Cash Office

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

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

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

Understanding Data Flow Diagrams Donald S. Le Vie, Jr.

SELF STUDY DIPLOMA IN BUSINESS ANALYSIS

Process Modelling. Data flow Diagrams. Process Modelling Data Flow Diagrams. CSE Information Systems 1

Hotel Management System

ACSG 552 Assignment #1 Spring 2009 Diana Oboikovitz. Due in class on Thursday, Jan. 22:

ATM Case Study Part 1

MODULE 5 DATA FLOW DIAGRAMS

LAB 3: Introduction to Domain Modeling and Class Diagram

AVAILABLE CASE TOOLS I. SYSTEM FLOWCHART AND ER-DIAGRAM GENERATION TOOL

CASE TOOLS. Contents

(BA122) Software Engineer s Workshop (SEW)

EXTENDED LEARNING MODULE A

Process signifies that some transformation of data takes place. The number in the space at the top is used in multi-level DFDs (see below).

2 SYSTEM DESCRIPTION TECHNIQUES

Systems Analysis Process Modeling (DFD) 1 of 10. Analysis 003

Systems Investigation and Analysis. Systems Development. What is it? Why Plan?

Higher National Unit specification: general information. Relational Database Management Systems

Chapter 3. Data Flow Diagrams

Business Definitions for Data Management Professionals

SYSTEMS ANALYSIS DESIGN

A Cost Effective Approach to Develop Mid-size Enterprise Software Adopted the Waterfall Model

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

Conceptual Design: Entity Relationship Models. Objectives. Overview

TIM 50 - Business Information Systems

Module 5: Normalization of database tables

Database IST400/600. Jian Qin. A collection of data? A computer system? Everything you collected for your group project?

Process for Data Flow Diagram Process Documentation Template: Description

CHAPTER 3. Data Modeling and Database Design- Part1

Managing the development and purchase of information systems (Part 2)

Data Flow Diagram. Data Flow Diagrams (DFDs)

Entity / Activity Table for Causeway Cash Receipts System

(Refer Slide Time 00:56)

Chapter 1 System Development Environment

Data Governance Data & Metadata Standards. Antonio Amorin

Chapter 6. Data-Flow Diagrams

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

Automate Data Integration Processes for Pharmaceutical Data Warehouse

Lesson 8: Introduction to Databases E-R Data Modeling

Quality Assurance. Ministry of Community Development and Ministry of Tourism, Culture and the Arts

Data Flow Diagrams: more details. Recall: Specifications What are specs? Specs and UP. Brief Review: Specs. Things to recall about specs

Alan Dennis, Barbara Haley Wixom, and Roberta Roth John Wiley & Sons, Inc. Slides by Candace S. Garrod Red Rocks Community College 3-1

Data Modeling for Healthcare Systems Integration: Use of the MetaModel

Answers to Review Questions

Chapter 7. Process Analysis and Diagramming

BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 5 Diploma in IT. September 2013 EXAMINERS REPORT

Parsing Technology and its role in Legacy Modernization. A Metaware White Paper

Databases in Organizations

PASTA Abstract. Process for Attack S imulation & Threat Assessment Abstract. VerSprite, LLC Copyright 2013

POLITE ENGLISH. Giving advice FREE ON-LINE COURSE. Lesson 2: version without a key SZKOLENIA JĘZYKOWE DLA FIRM ZREALIZUJEMY TWÓJ CEL!

APPROACH TO EIM. Bonnie O Neil, Gambro-BCT Mike Fleckenstein, PPC

Entity-Relationship Model

Motivation. Korpus-Abfrage: Werkzeuge und Sprachen. Overview. Languages of Corpus Query. SARA Query Possibilities 1

Systems Analysis and Design

Database Design Methodology

MySQL for Beginners Ed 3

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

Foundations of Information Management

BUSINESS PROCESS DOCUMENTATION

SQL AND DATA. What is SQL? SQL (pronounced sequel) is an acronym for Structured Query Language, CHAPTER OBJECTIVES

IT2404 Systems Analysis and Design (Compulsory)

Methods and Tolls for Business Process Modeling

UNIVERSE BEST PRACTICES. Rob Rohloff, OEM Sales Consultant

Software Testing, Mythology & Methodologies

s от Systems Analysis and Design

Software Engineering. System Models. Based on Software Engineering, 7 th Edition by Ian Sommerville

Lost in Space? Methodology for a Guided Drill-Through Analysis Out of the Wormhole

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

Chap 1. Introduction to Software Architecture

TDDC88 Lab 2 Unified Modeling Language (UML)

Transcription:

Key Definitions Data Modelling Chapter 7 A data model shows the people, places and things of interest to an organization and the relationships among them. The logical data model shows the organization of data without indicating how it is stored, created, or manipulated. Slide 1 Slide 2 Key Definitions A physical data model shows how the data will actually be stored in the database. Normalization is the process analysts use to check for data redundancy. The Entity-Relation Diagram (ERD) Slide 3 Slide 4 What Is an ERD? A picture showing the information created, stored, and used by a business system. Entities generally represent people, places, and things of interest to the organization. Lines between entities show relationships between entities. Using the ERD to Show Business Rules ERD symbols can show when one example of an entity must exist for an example of another to exist A product must exist before it can be sold ERD symbols can show when one example of an entity can be related to only one or many examples of another entity One doctor can have many patients, each patient may have only one primary doctor Slide 5 Slide 6

An ERD Example ERD Elements Slide 8 Entities and Instances Case Repository Entry for Patient Entity Slide 9 Slide 10 Attributes Identifiers Information captured about an entity Only those used by the organization should be included in the model Attribute names are nouns Sometimes entity name is added at the beginning of the attribute name The identifier consists of one or more attributes that can uniquely identify each instance of the entity. Slide 11 Slide 12

Identifier Types Case Repository Entry for Patient_SSN Attribute Slide 13 Slide 14 Relationships Associations between entities Connected by a line Given active verb names One verb can describe relationship in both directions Two verbs can describe each relationship Cardinality Cardinality refers to the number of times instances in one entity can be related to instances in another entity One instance in an entity refers to one and only one instance in the related entity (1:1) One instance in an entity refers to one or more instances in the related entity (1:M) One or more instances in an entity refer to one or more instances in the related entity (M:M) Slide 15 Slide 16 Modality Case Repository Entry for a Relationship Modality refers to the minimum number of times that an instance in one entity can be related to an instance in another entity One means that an instance in the related entity must exist for an instance in another entity to be valid Zero means that no instance in the related entity is necessary for an instance in another entity to be valid Slide 17 Slide 18

Metadata Information about components of the model Metadata is stored in the CASE repository so it can be shared by developers and users throughout the SDLC Metadata Examples An Entity An Attribute A Relationship can be can be can be described by: described by: described by: Name Name Verb phrase Definition Description Definition Notes Alias Cardinality Acceptable Values Modality Format Notes Notes Slide 19 Slide 20 Creating An Entity- Relationship Diagram ERD Basics Drawing the ERD is an iterative process of trial and revision ERDs can become quite complex Slide 21 Slide 22 Steps in Building ERDs Identify the entities Add appropriate attributes for each entity Draw the relationships that connect associated entities ERD Building Tips Data stores of the DFD should correspond to entities Only include entities with more than one instance of information Don t include entities associated with implementation of the system, not the system itself Slide 23 Slide 24

An ERD Example: The CD Entity An ERD Example: The CD s Relationships Slide 25 Slide 26 An ERD Example: CD s Relationships Expanded Advanced Syntax Slide 27 Slide 28 Special Types of Entities An Intersection Entity Example Intersection entities are created to store information about two entities sharing an M:M relationship Independent entities can exist without the help of another entity Dependent entities use the identifier of one or more other entities as part or all of their identifiers Slide 29 Slide 30

Design Guidelines Best practices rather than rules Entities should have many occurrences Avoid unnecessary attributes Clearly label all components Apply correct cardinality and modality Break attributes into lowest level needed Labels should reflect common business terms Assumptions should be clearly stated Balancing ERDs with DFDs All analysis activities are interrelated Process models contain two data components Data flows and data stores The DFD data components need to balance the ERD s data stores (entities) and data elements (attributes) Many CASE tools provide features to check for imbalance Check that all data stores and elements correspond between models Do not follow thoughtlessly -- check that the models make sense! Slide 31 Slide 32 Summary The ERD is the most common technique for drawing data models. The building blocks of the ERD are: Entities describe people, places, or things Attributes capture information about the entity Relationships associate data across entities Intersection, dependent, and independent entities must be recognized. The ERD must be balanced with the DFD. Slide 33