IT 21103/41103 System Analysis & Design. Chapter 04 Data Modeling.

Slides:



Advertisements
Similar presentations
Chapter 6: Entity-Relationship Model (part I)
Advertisements

BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
ENTITY RELATIONSHIP MODELLING
ERD diagram Data Design - Mr. Ahmad Al-Ghoul
Concepts of Database Management Seventh Edition Chapter 6 Database Design : ERD Model.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Systems Development Life Cycle
Data Modeling using the Entity-Relationship (ER) Model
FIS 431/631 Financial Information Systems: Analysis and Design REA Modeling Joe Callaghan Oakland University Department of Accounting & Finance.
ISMT221 Information Systems Analysis and Design Entity-Relationship Diagram Lab 4 Tony Tam.
Conceptual Modelling Entity Relationship Model Overview Entities, Attributes and Relationship modelling Generating a Relational Database for an EAR model.
Entity Relationship Diagrams Basic Elements and Rules.
Entity Relationship Diagrams
Ch5: Software Specification. 1 Descriptive specifications  Describe desired properties of system  Three types:
A Quick Review of Analysis Stages of the Systems Development Life Cycle Planning Analysis Design Construction.
CSCI 242 Relational Data Modeling Copyright 2011, David C. Roberts, all rights reserved.
APPENDIX C DESIGNING DATABASES
Things are bad. Children no longer obey their parents and everyone is writing a book. -- Marcus Tillius Cicero.
Entity Relationship Modeling Objectives: To illustrate how relationships between entities are defined and refined. To know how relationships are incorporated.
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.
Data Modeling ERM ERD.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Business Process Modeling
CHAPTER 2. FUNDAMENTAL OF ENTITY RELATIONSHIP (ER)
Database. Basic Definitions Database: A collection of related data. Database Management System (DBMS): A software package/ system to facilitate the creation.
IT Data Modeling for Logical Design Section 04.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
BIS 360 – Lecture Six (Part 2) Conceptual Data Modeling (Chapter 10 and partial Chapter 12)
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Data Modelling – ERD Entity Relationship Diagram’s Entity Relationship Diagrams and how to create them. 1.
IS 325 Notes for Wednesday September 4, Syllabus Change I eliminated quizzes I increased the points allocated to homework assignments.
Copyright (c) 2014 Pearson Education, Inc. Introduction to Databases.
DATABASEMODELSDATABASEMODELS  A database model ◦ defines the logical design of data. ◦ Describes the relationships between different parts of data.
Concepts and Terminology Introduction to Database.
1 Relational Database Development Alison Taylder Consultant ITC-ILO, Turin 25 th November 2004.
IMS 6217: Relationships 1 Dr. Lawrence West, MIS Dept., University of Central Florida Database Design--Topics DB Design Steps Identify.
Database Design Principles – Lecture 3
Database Design – Lecture 3 Conceptual Database Design.
1 Entity-Relationship Diagram. 2 Components of ERD: –Entity –Relationship –Cardinality –Attributes.
Next Back A-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All rights.
C-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
 R EVIEW M ORE ON ERD’ S DBS201. Why ERDs What is an ERD What is represented by boxes What is the connection between boxes called.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Description and exemplification of entity-relationship modelling.
MS Office & Internet I Database Concepts Part 01 & 02.
ERD ( Conceptual data model From the statement of data requirements a conceptual data model is produced. This describes.
 An entity-relationship diagram (ERD) is a specialized graphic that illustrates the interrelationships between entities in a database.
Section 04 Lesson 01 Introduction to the Database
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Data Modeling Supplement. Six Blind Men and the Elephant.
EntityRelationshipDiagrams. Entity Relationship Models The E-R (entity-relationship) data model views the real world as a set of basic objects (entities)
Detailed Data Modeling. Outline Data Modeling Modeling Constructs –Entities –Relationships –Cardinality Model Basic Rules Advanced Rules Prototyping Process.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
IS 4420 Database Fundamentals Chapter 3: Modeling Data in the Organization Leon Chen.
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
C_ITIP211 LECTURER: E.DONDO. Unit 4 : DATA MODELING.
Entity Relationship Modeling
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
ERD :: 19 / 1 / Entity-Relationship (ER) Modeling. ER Modeling is a top-down approach to database design. Entity Relationship (ER) Diagram –A.
ERD’s REVIEW DBS201.
Relationships—Topics
CHAPTER 2 - Database Requirements and ER Modeling
Entity-Relationship Diagram (ERD)
Presentation transcript:

IT 21103/41103 System Analysis & Design

Chapter 04 Data Modeling

Concerned with the data flow of an organization

Data Modeling Focuses on Data Only

Data Modeling Data Attributes NameSizeType

Data Modeling Name Unique Indentifer

Data Modeling Size Amount of space required to hold the data

Data Modeling Type How the computer stores the data

Data Modeling Data Structures Specific organizational strategies for associating data elements

Data Modeling Examples:Receipts File Folders

Data Modeling Computer Data Structures Mimic the real-world Helps the analyst link data to the new system

Data Modeling Data Streams Series of characters that form a command or represent specific data values in a program

Data Modeling File Organized data structure with a specific format

Data Modeling Master File Identifies an individual person or thing in the organization

Data Modeling Transaction File Data collection that represents a specific event or activity

Data Modeling Database Collection of files containing data about the current operations of an organization

Data Modeling Data Warehouse Collection of files about the past operations of an organization

Data Modeling Relational Databases Collection of data tied together by common fields

Data Modeling Common Fields Primary Key Field(s) Foreign Key Field(s) - Create Relationships

Data Modeling Entity-Relationship Diagram - ERD

ERD ► The Entity-Relationship Approach  Represents reality using well-defined graphics and rules ► Basic building blocks are “things” (entities) and relationships Member Animal M 1 Adopts

ERD ► Advantages  Theoretical foundation (Set Theory)  Good for communication  Build E-R Model, then translate to any type of RDBMS ► Disadvantages  Different (yet another new thing to learn)  Must translate to the relational model

ERD ► Entity-Relationship Model: Basic Concepts  Entity ► Thing, Object, Concept of interest to the enterprise ► Each occurrence can be uniquely identified

ERD ► Entity-Relationship Model: Basic Concepts  Attribute ► Property of an entity ► Column

ERD ► Entity-Relationship Model: Basic Concepts  Relationship ► Association between two (or more) entities

ERD ► Entity-Relationship Model: Basic Concepts  Entity Identifier ► Attribute(s) whose value uniquely identifies an entity ► Primary Key

ERD ► What is an Entity?  Physical entity types ► Person ► Building ► Machine ► Book ► Usually Singular

ERD ► What is an Entity?  Conceptual entity types ► Contract ► Account ► Order ► Course

ERD ► What is an Entity?  Event entity types ► Transaction ► Shipment ► Reservation ► Phone Call ► Seminar Offering

ERD ► Entity-Relationship Model: Diagrams  Example:  Soft Rectangle represents entities ► Noun ► Singular  Connecting Line represents relationships ► Verb Member Animal Adopts

ERD ► Relationships have Characteristics  A relationship has Cardinality (Degree) One-to-OneOne-to-Many Many-to-Many

ERD ► Each entity’s participation is Mandatory or Optional ► Cardinality & Optionality are based on business rules Mandatory Optional

ERD ► One:One Relationship  One Member adopts one animal  One Animal is adopted by one member Member Animal Adopts

ERD ► One:Many relationship  One member adopts one animal  One animal is adopted by many members Member Animal Adopts

ERD ► Many:Many relationship  One member adopts many animals  One animal is adopted by many members Member Animal Adopts

ERD ► Optionality: Participation in a Relationship Zoo Employee Animal Cares for

ERD ► Mandatory  Every instance of the entity MUST participate in the relationship  Example: ► Every animal is cared for by at least one employee

ERD ► Optional  An instance of the entity CAN participate in the relationship  Example: ► Some employees do not take care of animals

ERD ► Drawing an E-R Diagram  Identify the entities  Write (make up) a few attributes for each entity  Designate the unique identifier (PK)  Identify the relationship (FK goes on the many side)  Show cardinality and optionality for each relationship

ERD ► E-R Modeling Exercise:  A Seminar Company ► A seminar company offers more than 100 different courses  Each course has a unique course number and a title ► The company schedules thousands of seminars annually  Each seminar is the presentation of one specific course  A seminar is either public or on-site

ERD ► E-R Model:  Entities ► Course  Course # (PK)  Course Title  Duration  Author

ERD ► E-R Model:  Entities ► Seminar  Seminar # (PK)  Date  Place  Type ► Public ► On-site  Course # (FK)

ERD ► E-R Model: COURSE SEMINAR Presented by

ERD ► E-R Modeling Exercise:  A Personnel Database ► A company has four divisions ► Each employee works for a department ► Each department reports to one of the divisions

ERD ► E-R Model:  Entities ► Division  Division #  Division Name

ERD ► E-R Model:  Entities ► Employee  Employee #  Employee Name  Dept # (FK)

ERD ► E-R Model:  Entities ► Department  Dept #  Dept Name  Div # (FK)

ERD ► E-R Model: DIVISIONDEPARTMENT Reports to EMPLOYEE Works for

Relational Database Theory ► E-R Modeling Exercise:  A Supplier-Parts Database ► A company purchases many parts from its suppliers  Each part has only one supplier ► A supplier can supply zero, one, or many parts  One _____(can/must) _____ (one and only one/one or more) ______

Relational Database Theory ► E-R Model: SUPPLIER PARTS Supplies

ERD Assignment 04 Page 117