Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Accounting Information Systems, 5th edition James A. Hall (Revised by Jiin-Feng Chen, National Chengchi University for classroom use)
COPYRIGHT 2007 Thomson South-Western, a part of The Thomson Corporation. Thomson, the Star logo, and South-Western are trademarks used herein under license
Flat-File Environment
User 1 Transactions
User 2 Transactions
Program 2
User 3 Transactions
X,B,Y
Program 3
L,B,M
Database Approach
User 1 Transactions
Database Program 1 D B M S A, B, C, X, Y, L, M
User 2 Transactions
Program 2
User 3 Transactions
Program 3
Applications
Because it is so different from the file-oriented approach, the database approach requires training users
may be inertia or resistance
Database Administrator
U S E R S
Transactions
Transactions
Physical Database
User Queries
DBMS Features
User Programs - makes the presence of the DBMS transparent to the user Direct Query - allows authorized users to access data without programming Application Development - user created applications Backup and Recovery - copies database Database Usage Reporting - captures statistics on database usage (who, when, etc.) Database Access - authorizes access to sections of the database
Query Language
The query capability permits end users and professional programmers to access data in the database without the need for conventional programs. ANSIs Structured Query Language (SQL) is a fourth-generation language (4GL) that has emerged as the standard query language.
JOIN X1 Y1 Y2 Y1 Z1 Z2 Z1
X1
Y1 Y2 Y1
Y1 Y2 Y3
Z1 Z2 Z3
X2
X3
X2
X3
(1:1)
(1:0,M)
(1:M)
(M:M)
When unnormalized tables are split and reduced to third normal form, they must then be linked together by foreign keys.
Steps in Normalization
Table with repeating groups First normal form 1NF
Remove partial dependencies Remove repeating groups
Central Site
Centralized Database
Site A
Site B
Site C
Advantages of DDP
Cost reductions in hardware and data entry tasks Improved cost control responsibility Improved user satisfaction since control is closer to the user level Backup of data can be improved through the use of multiple data storage sites
Disadvantages of DDP
Loss of control Mismanagement of resources Hardware and software incompatibility Redundant tasks and data Consolidating incompatible tasks Difficulty attracting qualified personnel Lack of standards
Data Currency
Occurs in DDP with a centralized database During transaction processing, data will temporarily be inconsistent as records are read and updated. Database lockout procedures are necessary to keep IPUs from reading inconsistent data and from writing over a transaction being written by another IPU.
E, F