Database Basics Overview of Databases. Arrivederci Pacioli Five primary weaknesses of traditional accounting system (debits and credits): Focus on subset.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Database Design Using the REA Data Model
Chapter 10: Designing Databases
Business Processes, Data Modeling and Information Systems
Chapters 7 & 9 System Scope
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
Accounting System Design
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 5-1 Accounting Information Systems 9 th Edition Marshall.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 7.1.
Recording / Financing Fixed Asset Acquisition Human Resources Purchasing Revenue Traditional files approach: separate systems Expenditure Cycles Reporting.
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.
PROCESS MODELING Transform Description. A model is a representation of reality. Just as a picture is worth a thousand words, most models are pictorial.
Technology Review-II Professor Martin Professor Xiong CSUS
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Recording / Financing Fixed Asset Acquisition Human Resources Purchasing Revenue Traditional files approach: separate systems (Legacy Systems) Expenditure.
FIS 431/631 Financial Information Systems: Analysis and Design ERD & Normalization Joe Callaghan Oakland University Department of Accounting & Finance.
Chapter 3: Data Modeling
Implementing an REA Model in a Relational Database
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Case study Lisa’s Bookstore IST210.
Entity/Relationship Modelling
Data Models of Accounting Information Systems Web:
Hall, Accounting Information Systems, 7e ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly.
© 2008 Prentice Hall Business Publishing Accounting Information Systems, 11/e Romney/Steinbart1 of 138 C HAPTER 15 Database Design Using the REA Data Model.
Database Design Using the REA Data Model
System Analysis Overview Document functional requirements by creating models Two concepts help identify functional requirements in the traditional approach.
Chapter 5: Modeling Systems Requirements: Events and Things
Modeling Systems Requirements: Events and Things.
Copyright 2004 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Second Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
ระบบฐานข้อมูลขั้นสูง (Advanced Database Systems) Lecturer AJ. Suwan Janin Phone:
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
Systems Analysis and Design in a Changing World, Fifth Edition
Chapter 17 Database Design Using the REA Data Model Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 17-1.
Chapter 17 Database Design Using the REA Data Model Copyright © 2012 Pearson Education 17-1.
REA analysis and E-R diagramming Part I April 10, 2008.
Introduction to Accounting Information Systems
REA analysis and E-R diagramming December 2, 2008.
The REA Model. The REA model provides structure for developing an accounting database It helps to identify It helps to The REA Model.
Accounting Information Systems 9th Edition
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Database Design Part of the design process is deciding how data will be stored in the system –Conventional files (sequential, indexed,..) –Databases (database.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Database Design Principles – Lecture 3
Acct 316 Acct 316 Acct 316 Data Modeling and Database Design 5 UAA – ACCT 316 Accounting Information Systems Dr. Fred Barbee Chapter.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Chapter 9 View Design and Integration. © 2001 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Outline Motivation for view design.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
5 Systems Analysis and Design in a Changing World, Fifth Edition.
Modeling System Requirements: Events and Things. Objectives Explain the many reasons for creating information system models Describe three types of models.
Advanced Accounting Information Systems Day 7 Database Modeling.
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 Design – Lecture 4 Conceptual Data Modeling.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Business System Development
The REA Approach to Business Process Modeling
Implementing an REA Model in a Relational Database
Database Design Using the REA Data Model
Implementing an REA Model in a Relational Database
Accounting Information Systems 9th Edition
Database Design Using the REA Data Model
Entity Relationships and Normalization
Accounting System Design
5.02 Understand database queries, forms, and reports used in business.
Accounting System Design
Database Design Chapter 7.
Presentation transcript:

Database Basics Overview of Databases

Arrivederci Pacioli Five primary weaknesses of traditional accounting system (debits and credits): Focus on subset of business activities Delay in data capture and processing Captures limited transaction information Duplicate data Expensive and defensive controls

Why is understanding relational databases important? All modern accounting software / ERP software is supported by relational databases. To understand how these systems operate, you need to understand relational databases. Custom reports are created using query writing languages to pull information from the database. If you do not understand the databases, it is very difficult to create reports.

Motivation for“REA” Component Modern IS’s run on top of databases, making it important to understand how databases store and process information. E-R is the standard for modeling RDBMS REA models provide an intermediate view of business processes. –Value chain, value system, and strategy are high level analyses –REA is intermediate level –Flowcharts are low level

Consider the transaction captured by this source document:

What entities are involved?

What tables are needed?

Is all information accounted for?

Relational Data Bases We correct these problems by adding another table to create a “normalized” data base Data duplication is minimized Note the “linked” primary key in the Sales-Inventory table

Normalization example—tables Vendor Vendor ID Vendor Name Vendor Address Discount Percentage Discount Time Item Item number Item description Item price Purchase PO number Purchasing agent ID Date ordered Shipping terms Shipping date Vendor ID Purchase-Item Item number PO number Quantity ordered

Entity-Relationship (E-R) Modeling E-R Modeling is one of many ways to draw pictures of businesses. Other modeling choices include: –Data flow diagrams (DFD) –Flowchart E-R modeling is an ART—may be a bit of a stretch...it is not a science.

Entity-Relationship—(E-R) Modeling Entities represent –People –Places –Things –Occurrences in time (like transactions) Relationship –Link related entities

E-R Modeling Example Hospital surgery room environment Operations are performed on patients. One doctor performs the operation while being assisted by several nurses.

E-R Example Nurse Patient Doctor Operation Operating Room

REA vs. E-R The REA framework says that the world consists solely of Resources, Events, and Agents (Locations?) E-R modeling is a method of drawing pictures.

REA Diagrams McCarthy (1979, 1982) determined that business systems consist “solely” of R esources E vents A gents McCarthy (1979, 1982) also identified common patterns of Resources, Events, and Agents R esource E vent Inside A gent Outside A gent

REA Diagrams Resource - anything under the firm’s control, that provides value and of which there is limited quantity Event - an occurrence that changes the quantity of a resource Agent - someone responsible for the event. One is from the organization (internal) the other is outside (external) Location - where the event occurred—sometimes included

Resource Increase Event Outside Agent Inside Agent Resource Decrease Event Outside Agent Inside Agent REA “Exchange” Pattern Decrease events are always linked to increase events - Duality No “free lunch” - firms do not give up resources without receiving something

Integrated REA Diagrams Exchange REA Diagrams are combined to create an integrated REA Diagram. Resource Increase Event Outside Agent Inside Agent Resource Decrease Event Outside Agent Inside Agent Increase Event Decrease Event Inside Agent Inside Agent Outside Agent Outside Agent

Integrated REA Diagrams Complete Integrated REA Diagrams include an increase event and a decrease event for each resource. Resources must come from somewhere Resources must go somewhere May choose not to model complete system. This is a new model, new field, developing field...but the concepts are well-accepted in the database field UN/CEFACT (Center for Trade Facilitation) ISO

REA Data Modeling Process ¶REA framework - provides conceptual model ¸Tables - Identify required tables and fields ¹Database - Build tables, establish relationships, and input data into relational database

Cardinalities Definition: the number of times each individual entity can participate in the relationship Relationships between entities determine how tables must be related...entities lead to tables

Cardinalities Maximums –Business process –Rules for relationships in database Minimums –Business process –Information for controls in database

Emergency Room E-R Example Doctor - Operation: A doctor can have many operations An operation can have one responsible doctor Nurse - Operation A nurse can have many operations An operation can have many nurses

Steps in REA data modeling  Identify the business processes  Identify the resources affected by each event and the agents who participate in each event  Combine events into the basic exchange template  Add information about cardinalities  Identify magnitude of relationships  Implement Model in Relational Database:  Table for each entity  Table for each M:N relationship  Use foreign keys for 1:1 and 1:N relationships  Develop a set of normalized tables

Queries—putting it back together Some query basics Database languages...data definition, data manipulation, data query Data dictionary...to see what the data look like Structured query language (SQL)...standardized query language with many specializations