IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams.

Slides:



Advertisements
Similar presentations
Alternative Approach to Systems Analysis Structured analysis
Advertisements

Chapters 7 & 9 System Scope
Irwin/McGraw-Hill Copyright © 2004 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS6th Edition.
Data & Process Modeling
Copyright Irwin/McGraw-Hill Data Modeling Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
ISMT221 Information Systems Analysis and Design Entity-Relationship Diagram Lab 4 Tony Tam.
MIS 210 Fall 2004Sylnovie Merchant, Ph. D. Lecture 4: Data Modeling Process Modeling MIS 210 Information Systems I.
System Analysis - Data Modeling
Systems Analysis Requirements structuring Process Modeling Logic Modeling Data Modeling  Represents the contents and structure of the DFD’s data flows.
Entity Relationship Diagrams Basic Elements and Rules.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Fundamentals, Design, and Implementation, 9/e Chapter 3 Entity-Relationship Data Modeling: Process and Examples Instructor: Dragomir R. Radev Fall 2005.
Agenda for Week 1/31 & 2/2 Learn about database design
Review Questions What is data modeling? What is the actual data model that is created called? Data modeling is a technique for organizing and documenting.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Entity Relationship Diagrams
Data Modeling Entity - Relationship Models. Models Used to represent unstructured problems A model is a representation of reality Logical models  show.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Copyright Irwin/McGraw-Hill Data Modeling Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Lesson-19 Data Modeling and Analysis
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Lesson-21Process Modeling Define systems modeling and differentiate between logical and physical system models. Define process modeling and explain its.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
Trisha Cummings.  Most people involved in application development follow some kind of methodology.  A methodology is a prescribed set of processes through.
Copyright Irwin/McGraw-Hill Data Modeling Introduction  The presentation will address the following questions:  What is systems modeling and what.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Entity-Relationship Modeling I The cautious seldom err. Confucius.
Computer System Analysis Chapter 10 Structuring System Requirements: Conceptual Data Modeling Dr. Sana’a Wafa Al-Sayegh 1 st quadmaster University of Palestine.
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.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Sample Entity Relationship Diagram (ERD)
Phase 2: Systems Analysis
1 CSE323 การวิเคราะห์และออกแบบระบบ (Systems Analysis and Design) Lecture 05: Data Modeling and Analysis.
Copyright 2001 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter 6 Structuring.
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Essentials of Systems Analysis and Design Fourth Edition Joseph S. Valacich Joey F.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Chapter 7 Structuring System Requirements: Conceptual Data Modeling 7.1.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 3/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
Database Design – Lecture 4 Conceptual Data Modeling.
Final Exam Review Geb Thomas. Information Systems Applications.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Fundamentals, Design, and Implementation, 9/e Appendix B The Semantic Object Model.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
MBI 630: Week 9 Conceptual Data Modeling and Designing Database 6/10/2016.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Chapter 6 Structuring System Requirements: Conceptual Data Modeling
Entity Relationship (E-R) Modeling
Lecture on Data Modeling and Analysis
System Design (Relationship)
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Review of Week 1 Database DBMS File systems vs. database systems
Chapter 4 Entity Relationship (ER) Modeling
Entity-Relationship Diagram (ERD)
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Lecture 10 Structuring System Requirements: Conceptual Data Modeling
Presentation transcript:

IFS310: Module 6 3/1/2007 Data Modeling and Entity-Relationship Diagrams

IFS310: Module 6 3/1/2007 Systems Modeling A model is a representation of reality. Just as a picture is worth a thousand words, most system models are pictorial representations of reality. Data modeling is a technique for organizing and documenting a system’s DATA. Data modeling is sometimes called database modeling because a data model is usually implemented as a database.

IFS310: Module 6 3/1/2007

IFS310: Module 6 3/1/2007 System Concepts  Systems thinking is the application of formal systems theory and concepts to systems problem solving.  An ERD depicts data in terms of the entities and relationships described by the data.

IFS310: Module 6 3/1/2007 Entities  An entity is something about which we want to store data.  An entity is a class of persons, places, objects, events, or concepts about which we need to capture and store data.  An entity instance is a single occurrence of an entity.

IFS310: Module 6 3/1/2007 Attributes An attribute is a descriptive property or characteristic of an entity. Synonyms include element, property, and field

IFS310: Module 6 3/1/2007 Attributes - Identification  Every entity must have an identifier or key. –An key is an attribute, or a group of attributes, which assumes a unique value for each entity instance. It is sometimes called an identifier.  Sometimes more than one attribute is required to uniquely identify an instance of an entity. –A group of attributes that uniquely identifies an instance of an entity is called a concatenated key. Synonyms include composite key and compound key.

IFS310: Module 6 3/1/2007 Relationships  A relationship is a natural business association that exists between one or more entities. The relationship may represent an event that links the entities, or merely a logical affinity that exists between the entities.  A connecting line between two entities on an ERD represents a relationship.  A verb phrase describes the relationship. –All relationships are implicitly bidirectional, meaning that they can interpreted in both directions.

IFS310: Module 6 3/1/2007

IFS310: Module 6 3/1/2007 Cardinality  Each relationship on an ERD also depicts the complexity or degree of each relationship, and this is called cardinality. –Cardinality defines the minimum and maximum number of occurrences of one entity for a single occurrence of the related entity. Because all relationships are bi-directional, cardinality must be defined in both directions for every relationship.

IFS310: Module 6 3/1/2007

IFS310: Module 6 3/1/2007 Foreign Keys  A relationship implies that instances of one entity are related to instances of another entity.  To be able to identify those instances for any given entity, the primary key of one entity must be migrated into the other entity as a foreign key. –A foreign key is a primary key of one entity that is contributed to (duplicated in) another entity for the purpose of identifying instances of a relationship. A foreign key (always in a child entity) always matches the primary key (in a parent entity).

IFS310: Module 6 3/1/2007

IFS310: Module 6 3/1/2007 (a) (b)

IFS310: Module 6 3/1/2007 Data Modeling During Systems Analysis 1 A key-based data model will be drawn first. 2 A fully attributed data model will be constructed along with the process of analysis and design. –Each attribute is defined in the repository with data types, domains, and defaults.

IFS310: Module 6 3/1/2007 How to Construct Data Models  1st Step - Entity Discovery  The first task is to discover those fundamental entities in the system.  There are several techniques that may be used to identify entities.  During interviews or JAD sessions with system owners and users, pay attention to key words in their discussion.  During interviews or JAD sessions, specifically ask the system owners and users to identify things about which they would like to capture, store, and produce information.  Study existing forms and files.  Some CASE tools can reverse engineer existing files and databases into physical data models.

IFS310: Module 6 3/1/2007 How to Construct Data Models  1st Step - Entity Discovery  An entity has multiple instances  Entities should be named with nouns that describe the person, event, place, or intangible thing about which we want to store data.  Define each entity in business terms.

IFS310: Module 6 3/1/2007 How to Construct Data Models  2nd Step - The Context Data Model  The second task in data modeling is to construct the context data model.  The context data model includes the fundamental or independent entities that were previously discovered. An independent entity is one which exists regardless of the existence of any other entity. Its primary key contain no attributes that would make it dependent on the existence of another entity. Independent entities are almost always the first entities discovered in your conversations with the users.  Relationships should be named with verb phrases that, when combined with the entity names, form simple business sentences or assertions. If only one-way naming is used, always name the relationship from parent-to-child.

IFS310: Module 6 3/1/2007

IFS310: Module 6 3/1/2007 How to Construct Data Models  3rd Step - The Key-Based Data Model  The third task is to identify the keys of each entity.  If you cannot define keys for an entity, it may be that the entity doesn’t really exist—that is, multiple occurrences of the so-called entity do not exist.

IFS310: Module 6 3/1/2007

IFS310: Module 6 3/1/2007 How to Construct Data Models  4th Step - Generalized Hierarchies  At this time, it would be useful to identify any generalization hierarchies in a business problem.  5th Step - The Fully Attributed Data Model  The fifth task is to identify the remaining data attributes.  6th Step - The Fully Described Model  The last task is to fully describe the data model.  Most CASE tools provide extensive facilities for describing the data types, domains, and defaults for all attributes to the repository.

IFS310: Module 6 3/1/2007 Group Project Objectives –Milestone 2 (Data Model) –Milestone 3 Overviews Domain of Changes Narrative descriptions of processes (data flows, data stores, external entities) DFDs and ER diagrams