Chapter 3: Data Modeling

Slides:



Advertisements
Similar presentations
© Copyright 2011 John Wiley & Sons, Inc.
Advertisements

Technology Guide 3 Data and Database T3-1. IT for Management Prof. Efraim Turban T3-2 File Management Hierarchy of data for a computer-based file Record.
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Chapter 15 Creating Database Forms and Reports Introduction Forms Reports.
Chapter 5: Database Forms and Reports
Slide 1-1 Chapter 2 Principles of Accounting Analyzing Business Transactions.
© Copyright 2011 John Wiley & Sons, Inc.
Chapter Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables.
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Chapter 14 Organizing and Manipulating the Data in Databases
Systems Analysis and Design
Chapter 23: Statement of Cash Flows
Chapter 5 The Relational Database Model: Introduction
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 3 Data Modeling Fundamentals of Database Management Systems by
2-1 Information Technologies Concepts and Management.
Accounting Information Systems, 1st Edition
Introduction to Databases
Chapter 7 Logical Database Design
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
Chapter 6 The Relational Database Model: Additional Concepts
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Introduction to Databases Chapter 1: Introducing Data and Data Management.
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Introduction to Information Technology, 2 nd Edition Turban, Rainer & Potter © 2003 John Wiley & Sons, Inc. 5-1 Introduction to Information Technology.
Fundamentals of Database Management Systems, 2nd ed
John Wiley & Sons, Inc. © 2005 Chapter 2 The Recording Process Prepared by Naomi Karolinski Monroe Community College and and Marianne Bradford Bryant.
Chapter 4: Organizing and Manipulating the Data in Databases
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Accounting Principles, Ninth Edition
Today’s Agenda  Any questions about the assignment (due Mon)?  Quiz  Quiz review  Homework for Friday:  Watch the two videos on the Coursera db website.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
Chapter 3-1 Ch. 3 –Data Modeling Designing an efficient and effective database that meets users’ needs.
Chapter Chapter 13-2 Accounting Information Systems, 1 st Edition Data and Databases.
Chapter 5 – Storing and Organizing Information Information Systems, First Edition John Wiley & Sons, Inc by France Belanger and Craig Van Slyke Contributor:
Chapter 101 The Design Process Chapter 10 Achieving Quality Through Continual Improvement Claude W. Burrill / Johannes Ledolter Published by John Wiley.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Core Concepts of ACCOUNTING INFORMATION SYSTEMS Moscove, Simkin & Bagranoff John Wiley & Sons, Inc. Developed by: Marianne Bradford, Ph.D. Bryant College.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved
Introduction to Information Technology, 2nd Edition Turban, Rainer & Potter © 2003 John Wiley & Sons, Inc. 8-1 Introduction to Information Technology Chapter.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Slide 1-1 Chapter 1 Terms Information Systems Overview Introduction to Information Systems Judith C. Simon.
Core Concepts of ACCOUNTING INFORMATION SYSTEMS Moscove, Simkin & Bagranoff John Wiley & Sons, Inc. Developed by: S. Bhattacharya, Ph.D. Florida Atlantic.
Chapter 4-1. Chapter 4-2 Chapter 4: Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using REA Creating Database Tables.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Chapter 31 Information Technology For Management 6 th Edition Turban, Leidner, McLean, Wetherbe Lecture Slides by L. Beaubien, Providence College John.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976.
Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005.
Chapter 5-1. Chapter 5-2 Chapter 5: Organizing and Manipulating the Data in Databases Introduction Normalization Validating the Data in Databases Extracting.
A- 1. A- 2 Appendix B Standards of Ethical Conduct for Management Accountants The Institute of Management Accountants has published and promoted the following.
K-1. K-2 Appendix K Standards of Ethical Conduct for Management Accountants The Institute of Management Accountants has published and promoted the following.
Slide 11-1 Chapter 11 Terms Information Resource Management Strategies Introduction to Information Systems Judith C. Simon.
Introduction to Business Information Systems by Mark Huber, Craig Piercy, Patrick McKeown, and James Norrie Tech Guide D: The Details of SQL, Data Modelling,
I-1. I-2 I ACCOUNTING FOR SOLE PROPRIETORSHIPS Accounting, Fifth Edition.
ACCOUNTING INFORMATION SYSTEMS
Systems Analysis and Design
Systems Analysis and Design
Introduction to Information Technology
Data Management: Data, Databases and Warehousing
Data Management: Data, Databases and Warehousing
ACCOUNTING INFORMATION SYSTEMS
Database Design Chapter 7.
Presentation transcript:

Chapter 3: Data Modeling Introduction An Overview of Databases Steps in Developing a Database Using Resources, Events and Agents Model Normalization

Introduction Uses of a modern AIS Systematically record data Provide convenient and useful formats Easy access to information

What is a Database? Collection of organized data Used by many different computer applications Manipulated by database management systems (DBMS)

Significance of a Database Critical information Volume Distribution Privacy Irreplaceable data Need for accuracy Internet uses

Storing Data in Databases Data must be stored and organized systematically Three important concepts: Data hierarchy Record structures Database keys

Data Hierarchy Data organization in ascending order: Data field Record File Database

Record Structures Data fields in each record of a database table Structure is usually fixed Example

Database Keys Primary Key Foreign Keys Unique to each record Enable referencing of one or more records Matches primary key of related table

Records Combined Into Report

Additional Database Issues Administration Database Administrator Documentation Includes a variety of descriptions Structures, Contents, Security Features Data Dictionary Metadata

Data Dictionary Example

Additional Database Issues Data Integrity Data Integrity controls Designed by database developers Processing Accuracy and Completeness Transaction controls Ensures accurate transaction processing

Additional Database Issues Concurrency Concurrency controls Prevent multi-user access at same time Backup and Security Ability to recreate data Prevent unauthorized access View controls

Study Break #1 The part of the data hierarchy that represents one instance of an entity is a: Field Record File Database

Study Break #1 - Answer The part of the data hierarchy that represents one instance of an entity is a: Field Record File Database

Study Break #2 Within the context of databases, the term “concurrency” refers to the possibility that: A customer of one store might also be a customer of another store Two database users might want to access the same record at the same time A credit entry for a customer requires a debit entry for a matching account None of these

Study Break #2 - Answer Within the context of databases, the term “concurrency” refers to the possibility that: A customer of one store might also be a customer of another store Two database users might want to access the same record at the same time A credit entry for a customer requires a debit entry for a matching account None of these

REA Model Resources Events Agents Organization’s assets Activities associated with a business processes Agents People associated with business activities

Steps in Developing Databases with REA Identify Business and Economic Events Identify Entities Identify Relationships Among Entities

Steps in Developing Databases with REA Create Entity-Relationship Diagrams Identify Attributes of Entities Convert E-R Diagrams into Database Tables

Identify Events and Entities Types of Events Business Economic Types of Database Entities Entities Agents Resources

Entity Examples

Identify Relationships Among Entities Types of Relationships Direct relationship Indirect relationship Cardinalities Nature of relationships among entities

Cardinality Relationships Notations One-to-one (1:1) One-to-many (1:N) Many-to-many (N:N) Purpose Occurrence of one entity Associated with occurrence of one event of another entity

Cardinality Relationships

Entity-Relationship Diagram Purpose Diagram entities Relationships among entities Structure Rectangles represent entities Connecting lines represent relationships

E-R Diagram Example

Relationship Tables Provide greater flexibility Need for Relationship Tables Linking tables with foreign keys Many-to-many relationships

Relationship Tables

Schematic of Database Tables

Study Break #3 In the REA model, the “A” stands for: Agents Additions Accounts Associations

Study Break #3 - Answer In the REA model, the “A” stands for: Agents Additions Accounts Associations

Study Break #4 Which of these is not a cardinality between two database entities? One-to-one None-to-none One-to-many Many-to-many

Study Break #4 - Answer Which of these is not a cardinality between two database entities? One-to-one None-to-none One-to-many Many-to-many

Normalization Normalization Levels Methodology ensuring attributes are stored in most appropriate tables Design promotes accuracy Avoids redundancy of data storage Levels First normal form Second normal form Third normal form

Unnormalized Data

First Normal Form In First Normal Form (1 NF) when: Problems All data fields are singular Each attribute has one value Problems Data redundancy Insertion anomaly Deletion anomaly

First Normal Form Example

Second Normal Form In Second Normal Form (2 NF) when: Benefits It is in 1 NF All data items depend on primary record key Benefits More efficient design Eliminates data redundancy

Second Normal Form Example

Third Normal Form In Third Normal Form (3 NF) when: Ultimate Goal It is in 2 NF Does not contain transitive dependencies Data field A does not determine data field B Ultimate Goal Create database in 3 NF

Third Normal Form Example

Study Break #5 A database is in third normal form (3NF) if it is second normal form and: All the data attributes in a record are well defined All the data attributes in a record depend on the record key The data contain to transitive dependencies The data can be stored in two or more separate tables

Study Break #5 - Answer A database is in third normal form (3NF) if it is second normal form and: All the data attributes in a record are well defined All the data attributes in a record depend on the record key The data contain to transitive dependencies The data can be stored in two or more separate tables

Copyright Copyright 2012 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976 United States Copyright Act without the express written permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make backup copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages, caused by the use of these programs or from the use of the information contained herein.

Chapter 3