Chapter 3-1 Ch. 3 –Data Modeling Designing an efficient and effective database that meets users’ needs.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Managing Data Resources
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Chapter Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables.
Database Management: Getting Data Together Chapter 14.
Chapter 14 Organizing and Manipulating the Data in Databases
3-1 Chapter 3 Data and Knowledge Management
Accounting Databases Chapter 2 The Crossroads of Accounting & IT
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Chapter # 04Information and Databases Information and Database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 3: Data Modeling
Implementing an REA Model in a Relational Database
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
Systems Analysis and Design 9th Edition
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
Management Information Systems
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
Chapter 1 The Information System: An Accountant’s Perspective Accounting Information Systems, 5 th edition James A. Hall COPYRIGHT © 2007 Thomson South-Western,
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
1 California State University, Fullerton Chapter 7 Information System Data Management.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Concepts and Terminology Introduction to Database.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
7.1 Managing Data Resources Chapter 7 Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources © 2005 by Prentice Hall.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Databases Topic 4 Text Materials Chapter 3 – Databases and Data Warehouses.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
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.
Module 2: Information Technology Infrastructure Chapter 5: Databases and Information Management.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Implementing an REA Model in a Relational Database
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
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.
Database Systems Basic Data Management Concepts
Database revision.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
Lesson 2: Designing a Database and Creating Tables.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Database Relationships Objective 5.01 Understand database tables used in business.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
Chapter 5-1. Chapter 5-2 Chapter 5: Organizing and Manipulating the Data in Databases Introduction Normalization Validating the Data in Databases Extracting.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
Managing Data Resources File Organization and databases for business information systems.
Copyright © 2013 Dorling Kindersley (India) Pvt. Ltd. Management Information Systems: Managing the Digital Firm, 12eAuthors: Kenneth C. Laudon and Jane.
ACCOUNTING INFORMATION SYSTEMS
Chapter 4 Relational Databases
What is a Database and Why Use One?
ACCOUNTING INFORMATION SYSTEMS
Database Design Chapter 7.
Presentation transcript:

Chapter 3-1 Ch. 3 –Data Modeling Designing an efficient and effective database that meets users’ needs

Chapter 3-2 What is a Database? Collection of organized data Used by many different computer applications Manipulated by database management systems or DBMS (e.g. MS Access)

Chapter 3-3 Significance of a Database Critical and valuable part of every business Growing volume of data and cost of storage Distributed vs. centralized data processing/ storage Security and privacy of data Irreplaceable data and redundant backup Need for accuracy (costs 10 times as much to fix problems created from inaccurate data as it does to get it right the first time) Increasing internet connectivity with databases Amazon has 7 data centers requiring 1 sq. mile, 18 football fields, 454k servers

Chapter 3-4 Data must be stored and organized systematically Three important concepts:  Data hierarchy  Record structures  Database keys Storing Data in Databases

Chapter 3-5 Data Hierarchy Data hierarchy -ascending order:  Bit (binary digit, e.g. 0 for light off and 1 for light on)  Byte (eight bits traditionally needed to form one character, such as a letter or digit)  Data field (several bytes, e.g. word or number)  Record (set of data fields)  File (set of records)  Database (collection of files) E.g. How would the computer store A2? Bytes Value 1000kkilo Mmega Ggiga Ttera Ppeta Eexa Zzetta Yyotta Binary: Hexadecimal: AB

Chapter 3-6 Record Structures Data fields in each record are usually pre- formatted for numbers, text, etc. Example

Chapter 3-7 Data Dictionary Example

Chapter 3-8 Record Keys Primary Record Key  Unique to each record. Generally, a person’s name is not a good primary key because several people with the same name might exist Foreign Keys  Enables records to have a common reference in multiple files

Chapter 3-9 Creating a Database On the same day, a firm pays cash for a paper clip and hires a new CEO. Traditionally an AIS only captured economic events that affected resources (e.g. buying the paper clip but not hiring the CEO). Modern databases need to capture resources, events, and agents (REA). Resources: Assets (e.g. cash, inventory, equipment, etc.) Events: business activities divided into economic (or accounting) events, such as buying a paper clip, and business events, such as registering a student, or a student’s birthday Agents: people associated with events, including both internal (employee) and external (customers) According to the late, great Peter Drucker (father of modern management theory and Claremont business program). “People usually consider accounting to be financial. But that is valid only for the part, going back 700 years, that deals with assets, liabilities, and cash flows; it is only a small part of modern accounting. Indeed, accounting today deals with operations... money is simply a notation and the language in which to express nonmonetary events”. Do you agree?

Chapter 3-10 Entity Examples

Chapter 3-11 Normalization Most data organized in flat files  No sequence or order  Difficult to find records  Inefficient and redundant data Normalization  Process of examining and arranging file data  Allows for more efficient use of data and smaller data files (eliminates redundancy)  Avoid problems in accessing and modifying data (e.g. entering the same information into two separate tables magnifies errors and inefficiency)

Chapter 3-12 Unnormalized Data

Chapter 3-13 First Normal Form In First Normal Form (1 NF) when:  All data fields are well defined  Data can be stored in a flat file Problems  Data redundancy  Insertion anomaly  Deletion anomaly Also known as First Norm

Chapter 3-14 First Normal Form Example

Chapter 3-15 Second Normal Form Second Normal Form (2 NF) achieved when:  It is in 1 NF  All data items depend on primary record key Benefits  More efficient design  Eliminates data redundancy Also known as Second Norm

Chapter 3-16 Second Normal Form Example

Chapter 3-17 Third Normal Form Third Normal Form (3 NF) achieved when:  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 Also known as Third Norm

Chapter 3-18 Third Normal Form Example

Chapter 3-19 Cardinality Relationships Notations (N = No limit)  One-to-one (1:1); None-to-one (0:1); One-to-many (1:N) ; Many-to-many (N:N), etc. Determine which of the following cardinalities may be appropriate for each situation below (1,1), (1,N), (1,0), (0,N), (0,1), (N,1), (N,0) or (N,N): (1) Soc. Sec. # and name (2) Invoice # and a customer # (3) A customer and sales rep (4) A debit card and PIN (5) A parking ticket# and student ID# (6) a faculty member and course

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

Chapter 3-21 Relationship Database – tables linked by key