Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 13-1. Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables.

Similar presentations


Presentation on theme: "Chapter 13-1. Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables."— Presentation transcript:

1 Chapter 13-1

2 Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables and Records

3 Chapter 13-3 Introduction Modern AISs use computers to systematically record data,  in convenient and  useful formats to provide easy access to required information.

4 Chapter 13-4 An Overview of Databases A database is a collection of data that is stored in related files. Databases are important because they: contain valuable information, are very large in volume, store data in all its complexity have to maintain privacy contain irreplaceable data have to be complete, comprehensive, and accurate are priceless to Internet users

5 Chapter 13-5 Question Which of these does not characterize a typical database? a. large number of records b. irreplaceable data c. high need for accuracy d. simple systems An Overview of Databases

6 Chapter 13-6 To be useful, the data in an organization’s databases must be stored and organized efficiently. The three important concepts are  Data hierarchy  Record structures  Record keys Storing Data in Databases

7 Chapter 13-7 Data Hierarchy Storing accounting data in computer files involves organizing the data into a data hierarchy. The lowest level of information in a file is a binary digit or bit. Eight bits create a byte that represents a character. A data field combines several characters or bytes. A record combines related data fields. A set of records forms a file. A database is a collection of files that contain all the information for an application.

8 Chapter 13-8 Question Which of these is not part of the ‘‘data hierarchy’’ (within the context of databases)? a. Record b. bit c. character d. data type Data Hierarchy

9 Chapter 13-9 Record Structures and Record Keys The specific data fields in each record of a computer file are part of the record structure. Record Keys are identifiers for records: Primary keys are unique to each record Secondary keys are  non-unique identifiers for records and  used for searching files for specific information Foreign keys enable database records to reference one or more records in other files

10 Chapter 13-10 Additional Database Concerns Administration Documentation Data integrity Processing Accuracy and Completeness Concurrency Backup and Security

11 Chapter 13-11 Administration and Documentation A database administrator supervises the design, development, and installation of a large database system, and is responsible for its maintenance, security and revision Documentation involves descriptions of database structures, contents, security features, E-R diagrams, and password policies A data dictionary is a data file about data.

12 Chapter 13-12 Data integrity Processing Accuracy and Completeness Data integrity controls are designed by the database developers and are customized for the application at hand. To achieve transaction controls database systems maintain an auditable log of transactions

13 Chapter 13-13 can recover by  verifying that a problem has happened,  reversing whatever entries were made, and  starting anew. In have the ability to audit any particular transaction to ensure  processing accuracy and  completeness. Data integrity Processing Accuracy and Completeness

14 Chapter 13-14 Concurrency Backup and Security Concurrency controls are necessary to prevent multiple-user access to the same file execute transactions sequentially Information in many accounting databases must be protected  is stored by backup procedures for retrieval  is protected from unauthorized access by use of  passwords  encryption techniques

15 Chapter 13-15 Question Within the context of databases, the term ‘‘concurrency’’ refers to the possibility that a. a customer of one store might also be a customer of another store. b. two database users might want to access the same record at the same time. c. a credit entry for a customer requires a debit entry for a matching account. d. none of these Concurrency Backup and Security

16 Chapter 13-16 Steps in Creating Databases with REA An events-based accounting system (EBA) records activities that actually happen. The REA is a tool for designing databases. An AIS captures data about an organization’s resources, events and agents (REA).  Resources are an organization’s assets.  Events are identifiable activities associated with a business processes.  Agents are the people associated with business activities.

17 Chapter 13-17 Question In the REA model, the ‘‘A’’ stands for: a. agents b. additions c. accounts d. associations Steps in Creating Databases with REA

18 Chapter 13-18 The REA model requires the following steps: identify business and economic events, identify entities, identify relationships among entities, create Entity-Relationship diagrams, identify the attributes of data entities, and create database tables and records to validate the database. Steps in Creating Databases with REA

19 Chapter 13-19 Identify Events and Entities Business processes involve two types of events: economic events that  impact an organization’s financial statements business events, that  impact an organization in a value-added way Database entities include business and economic events information about the agents were involved in them the resources that events use or generate.

20 Chapter 13-20 Identify Relationships Among Entities An entity-relationship (ER) diagram graphically depicts a database’s contents. An entity relationship may be direct relationship or indirect relationship ER diagrams depict entities being modeled and the relationships (cardinalities) among them.

21 Chapter 13-21 The E-R model uses diamond symbols to represent relationships. include symbols (“1” or “*”) that provide information on cardinality. The cardinality of a relationship describes the number of occurrences of one entity that may be associated with a single occurrence of the other entity. Entity-Relationship Modeling

22 Chapter 13-22 Cardinality Relationships Cardinality can be One-to-one (1:1) One-to-many (1:*), many-to-one (*:1), or Many-to-many (*:*) Cardinalities provide useful information about the nature of the company being modeled and the business policies that it follows.

23 Chapter 13-23 Question Which of these is not a cardinality between two database entities? a. one-to-one b. none-to-none c. one-to-many d. many-to-many Cardinality Relationships

24 Chapter 13-24 Organizing Database Records The structure of a database is a particular method used to organize records aims to develop this efficiently so that data can be accessed quickly and easily. The three types of structures are: hierarchical, network and relational.

25 Chapter 13-25 Hierarchical Structures Accounting data are often organized in a hierarchy. A hierarchical structure has successive levels of data in an inverted treelike pattern, known as tree structures.  higher level records are parent records and  lower level records are child records  two records on same level are sibling records.

26 Chapter 13-26 Network Structures Databases can use a network structure to link related records together and capture many-to-many relationships. The linking is accomplished with pointer fields. The pointers maintain the data relationships.

27 Chapter 13-27 Relational Structures Relational databases are more flexible. Users can define relationships when the database is created or at later points in time.

28 Chapter 13-28 Creating Database Tables and Records An Introduction to Microsoft Access Creating Database Tables Creating Records Creating Database Relationships Guidelines for Creating Database Tables and Records

29 Chapter 13-29 Microsoft Access and Database Tables Microsoft Access is a popular relational database used by many businesses and individuals used for small database applications Creating database tables requires three items: Field Name,  names assigned to the data fields Data Type,  to be specified for each data field Description  optional field that defines record structures

30 Chapter 13-30 Creating Records and Database Relationships Creating records individual records for the data fields Database relationships link tables together enable users to create multitable reports To create database relationships launch the relationships window, select tables, and link the tables.

31 Chapter 13-31 Guidelines for Creating Database Tables and Records Some guidelines for creating database tables and records: Design first; create tables and records last. Name tables systematically and use conventional tbl prefixes. Use mnemonic names for data fields. Assign correct data types to data fields. Data fields that link tables must be the same data type. Limit the size of text data fields to reasonable lengths. Use input masks.

32 Chapter 13-32 Copyright Copyright 2005 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.

33 Chapter 13-33 Chapter 13


Download ppt "Chapter 13-1. Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables."

Similar presentations


Ads by Google