Information Technology IMS 5024 Information Systems Modelling Data Modelling.

Slides:



Advertisements
Similar presentations
Chapter # 4 BIS Database Systems
Advertisements

© 2002 by Prentice Hall 1 SI 654 Database Application Design Winter 2003 Dragomir R. Radev.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Conclusion and administration
IMS 5024 Data Modelling (1). IMS 5024 Lecture 32 Content Individual assignment date Pitfall revisited Group assignment Class assignment Nature of data.
Modeling the Data: Conceptual and Logical Data Modeling
System Analysis - Data Modeling
Normalization of Database Tables
Database Design (Data Modeling) DCO11310 Database Systems and Design By Rose Chang.
© 2005 by Prentice Hall Chapter 3a Database Design Modern Systems Analysis and Design Fourth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
IMS 5024 Lecture 4 Semester 2, IMS 5024 Data Modelling.
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
IMS 5024 Lecture 31 IMS 5024 Process Modelling. IMS 5024 Lecture 32 Content Group assignment Class assignment Nature of process modelling Abstraction.
IMS5024 Week 3 Semester 2, IMS 5024 Object orientation (1)
IMS 5024 Semester 2, 2002 Lecture 3 1 IMS 5024 Process Modelling.
IMS 5024, Semester 2, 2002 Lecture 5 1 IMS 5024 Event-driven modelling.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
IMS5024 Week 61 IMS 5024 Object orientation (1). IMS5024 Week 62 Content Individual assignment date Group assignment What is object orientation? n Place.
Ims5024 Week 71 IMS 5024 Object orientation (2). Ims5024 Week 72 Content Group assignment Use-cases State transition diagrams Place in ISD Evaluation.
Chapter 5 Normalization of Database Tables
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Project and Data Management Software
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Tenth Edition
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
Introduction to Databases
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
1 © Prentice Hall, 2002 Chapter 3: Modeling Data in the Organization Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B. Prescott, Fred.
Chapter 5 Normalization of Database Tables
Chapter 5 1 © Prentice Hall, 2002 Chapter 5: Transforming EER Diagrams into Relations Mapping Regular Entities to Relations 1. Simple attributes: E-R attributes.
Chapter 3: Modeling Data in the Organization
Chapter 7 Data Modeling with Entity Relationship Diagrams Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition.
Week 6 Lecture Normalization
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Concepts and Terminology Introduction to Database.
Database Systems: Design, Implementation, and Management Tenth Edition
5 1 Chapter 5 Normalization of Database Tables Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 6 Normalization of Database Tables.
1 DATABASE SYSTEMS DESIGN IMPLEMENTATION AND MANAGEMENT INTERNATIONAL EDITION ROB CORONEL CROCKETT Chapter 7 Normalisation.
Concepts of Relational Databases. Fundamental Concepts Relational data model – A data model representing data in the form of tables Relations – A 2-dimensional.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Initial Design of Entity Types for the COMPANY Database Schema Based on the requirements, we can identify four initial entity types in the COMPANY database:
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 4 Entity Relationship (ER) Modeling.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 4 ENTITY RELATIONSHIP (ER) MODELING Instructor Ms. Arwa Binsaleh 1.
Normalization of Database Tables
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
Logical Database Design and the Relational Model.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 2: MODELING DATA.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 10 Structuring.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
5 1 Chapter 5 Normalization of Database Tables Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Business System Development
Chapter 4: Logical Database Design and the Relational Model
Chapter 4: Part B Logical Database Design and the Relational Model
SEEM3430: Information Systems Analysis and Design
Normalization Karolina muszyńska
Chapter 5: Logical Database Design and the Relational Model
MIS 322 – Enterprise Business Process Analysis
Chapter 10 Structuring System Requirements: Conceptual Data Modeling
Database Modeling using Entity Relationship Model (E-R Model)
Review of Week 1 Database DBMS File systems vs. database systems
Chapter 4 Entity Relationship (ER) Modeling
Presentation transcript:

Information Technology IMS 5024 Information Systems Modelling Data Modelling

School of Information Management & Systems 7.2 Content Second assignment Pitfalls revisited Nature of data modelling Tools/Techniques used in data modelling Place in ISD Evaluation of data modelling Reading list NB. Not all slides in this lecture will be discussed

School of Information Management & Systems 7.3 Assignment two – OO modelling Due Monday 4th of October – week 11 Undertake in pairs from the same tute group. Individual submissions accepted Decide this week!

School of Information Management & Systems 7.4 Assignment Pitfalls Not starting early Not confirming your understanding of the case and the requirements with me and Clyde Not starting early Not integrating the separate elements of the models Not starting early Assuming that Clyde and I do not coordinate our marking

School of Information Management & Systems 7.5 Data modelling describes: Structure Meaning Relationship of data

School of Information Management & Systems 7.6 Data modelling help us to grasp: static data in the organisation fundamental building blocks of the system different view of data from that of process modelling

School of Information Management & Systems 7.7 Techniques used in Data Modelling Normalisation Data Dictionary Entity relationship diagrams What difference? Use all?

School of Information Management & Systems 7.8 Entity Entity – thing of interest to the business Identifying an entity is subjective Entities can be: Realeg product Abstracteg quota Event rememberedeg sale Role playedeg employee Employee

School of Information Management & Systems 7.9 Relationship Relationship Between entities Cardinality (eg. One to many, one to one ect.) Degree of relationship (Unary, Binary, Ternary) DepartmentEmployee

School of Information Management & Systems 7.10 Notation conventions There are several - but ER concepts are consistent Entity Cardinality and existential status Degree

School of Information Management & Systems 7.11 PATIENT HISTORY PATIENT PROJECT EMPLOYEE Mandatory cardinalities Optional and mandatory cardinalities Optional cardinalities Has Is assigned to Is married to Examples of Cardinalities PERSON

School of Information Management & Systems 7.12 Mandatory 1 cardinality Many cardinality (1,2 …m) Optional (0 or 1) cardinality Optional (0 or many) cardinality Relationship Cardinality Summary

School of Information Management & Systems 7.13 Also called a recursive relationship One to manyOne to one Unary Relationship Employee Is married to Person Manages

School of Information Management & Systems 7.14 A binary relationship is a relationship between instances of two entity types PROJECT EMPLOYEE SALES ORDER CUSTOMER ITEM SUPPLIER One to oneOne to manyMany to many Binary Relationship LeadsPlaces Supplies Supplied byPlaced by Lead by

School of Information Management & Systems 7.15 A ternary relationship is a relationship between instances of three entity types. PART supplies VENDORWAREHOUSE Ternary Relationship

School of Information Management & Systems 7.16 Attributes Individual components of information that characterise an Entity – its constituent data Types: derived, multi-valued, composite, simple

School of Information Management & Systems 7.17 Example of attributes EMPLOYEE Emp-no NameAddress Skill

School of Information Management & Systems 7.18 Normalisation the process of identifying the “natural” groupings of attributes remove redundancy and incompleteness a bottom up process relies on Set Theory – well researched

School of Information Management & Systems 7.19 Determining columns One fact per column Hidden data Derivable data Determining the key CAF CAF CAM CAF243175

School of Information Management & Systems 7.20 Basic Normalisation is most often accomplished in three stages (these are the three basic normal forms) First Normal Form Second Normal Form Third Normal Form Unnormalised table Remove repeating groups Remove partial dependencies Remove transitive dependencies Steps in Basic Normalisation

School of Information Management & Systems 7.21 First normal form Step 1: Remove the repeating group Why are repeating groups a problem? Determine the key for the new group. Order-Item (Order#, Customer#, (Item#, Desc, Qty)) Order-Item (Order#, Item#, Desc, Qty) Order (Order#, Customer#)

School of Information Management & Systems 7.22 Second and Third normal forms Eliminate redundancy Determinates – one or more columns (attributes) which determine other column values

School of Information Management & Systems 7.23 Second and Third normal form procedure Identify any non-key determinates Establish a separate table for each determinate and the columns it determines Name the new tables Remove the determined columns from the original table

School of Information Management & Systems 7.24 Third normal form A table is in third normal form if the only determinant(s) of non-key columns is (are) the primary key determinant(s)

School of Information Management & Systems 7.25 Advanced normalisation A set of tables can be in 3NF and still not be fully normalised Further stages of normalisation are BCNF, 4NF, 5 NF and Domain key NF Refer to Date, C.J. (1990) An Introduction to Database Systems, Volume 1. 5 th edn. Addison- Wesley Publishing Company, MA. pp

School of Information Management & Systems 7.26 Higher Normal forms Occur infrequently Most tables in 3 NF are already in BCNF, 4NF and 5 NF Data in 3NF but not in 5NF has Redundancy Insert/update/delete anomalies Difficulty in storing facts independently

School of Information Management & Systems 7.27 Thinking in Data modelling Hard Vs Soft ?? Perspective Objective vs Subjective Nature of the organisation

School of Information Management & Systems 7.28 Evaluation of Data modelling Problem orientedProduct oriented Concep- tual Structured analysis Entity relationship modelling Logical construction of systems Modern structured analysis Object oriented analysis Structured design Object oriented design Formal PSL/PSA JSD VDM Levels of abstraction Stepwise refinement Proof of correctness Data abstraction JSP Object oriented programming

School of Information Management & Systems 7.29 Advantages of Data modelling Data model is not computer oriented (agree??) Model understandable by technologist and users Does not show bias UoD can vary (whole organisation or department) Readily transformable into other models Different data analysis techniques Data modelling is rule-based

School of Information Management & Systems 7.30 Disadvantages Does not encourage or support user participation Your view on the organisation – people or data The idea that the model is THE model Subjective view One-side to data Others??

School of Information Management & Systems 7.31 Advantages of Normalisation Rid the data of redundancy and other problems Very well researched Math basis for normalisation

School of Information Management & Systems 7.32 Disadvantages of normalisation Does not encourage or support user participation Your view on the organisation –people or data One-side to data Can be done mechanistically without thought Others??

School of Information Management & Systems 7.33 Reading for next week Johnstone, M.N., McDermid, D.C. (1999). Extending and validating the business rules diagram method. Proceedings of the 10 th Australian Conference on Information Systems. Chapter 2 of Curran, Keller, Ladd (1998). SAP R/3 the business blueprint: Understanding the business process reference model. Prentice Hall.