100 likes | 135 Views
This overview compares traditional file processing systems with modern database management systems, highlighting issues like redundancy, inconsistency, and lack of flexibility in traditional approaches. It explains how a database centralizes data, reduces redundancy, and ensures data security effectively.
E N D
Chapter 6 Databases andInformation Management
File Organization Terms & Concepts • Field: Group of characters as word(s) or number e.g. a person’s name, age • Record: Group of related fields • File: Group of records of same type i.e. entity • Entity: Person, place, thing on which we store information. Example: Course, Student, • Attribute: Each characteristic, or quality describing entity • E.g., Attributes “Student_ID, Grade” belong to entity “COURSE” • Database: Group of related files
Traditional File Processing The use of a traditional approach to file processing encourages each functional area in a corporation to develop specialized applications. Each application requires a unique data file that is likely to be a subset of the master file. These subsets of the master file lead to data redundancy and inconsistency, processing inflexibility, and wasted storage resources. FIGURE 6-2
Problems With The Traditional File Environment • Files maintained separately by different departments cause many problems • Data redundancy: • Presence of duplicate data in multiple files • Data inconsistency: • Same attribute has different values • Same attribute may have different names • Application Program-Data Dependence: • Every traditional computer program describes the location and the nature of data • Changes in program requires changes to data accessed by program or vice versa • Programmers have to perform modifications if changes happen
Problems With The Traditional File Environment • Lack of flexibility - A traditional application program can generate report designed for each department. - There can be report requirements that must include data from several departments. • Poor security - Not possible to track if anyone changes data. • Lack of data sharing and availability - Since the software are not related in a traditional file environment it is impossible to share data very easily - This situation hinders data availability in a timely manner • More on traditional file processing system: http://ecomputernotes.com/fundamental/what-is-a-database/traditional-file-processing-system
Database & Database Management Systems (DBMS) • Database • Database technology helps to eliminate many of the problems of the traditional file systems • Serves many applications by centralizing data and controlling redundant data • Database management system (DBMS) • A DBMS is a software that allows an organization to centralize data, manage them efficiently, and provide access to the stored data by application programs • Acts as an interface among applications and data files • Solves problems of traditional file environment • Controls redundancy • Eliminates inconsistency • Enables organization to centrally manage data and data security
Human Resources Database With Different Views A single human resources database provides many different views of data, depending on the information requirements of the user. Illustrated here are two possible views, one of interest to a benefits specialist and one of interest to a member of the company’s payroll department. FIGURE 6-3
Relational DBMS • Relational DBMS • Represent data as two-dimensional tables called relations or files • Relationships are established among related tables • Each table contains data on entity and attributes • Table: grid of columns and rows • Rows: Records for different entities • Fields (columns): Represents attribute for entity • Key field: Field used to uniquely identify each record • Primary key: Field in table used for key fields • Foreign key: Primary key used in second table as look-up field to identify records from original table
Relational Database Table A relational database organizes data in the form of two-dimensional tables. Illustrated here are tables for the entities SUPPLIER and PART showing how they represent each entity and its attributes. Supplier Number is a primary key for the SUPPLIER table and a foreign key for the PART table. FIGURE 6-4
Relational Database Table A relational database organizes data in the form of two-dimensional tables. Illustrated here are tables for the entities SUPPLIER and PART showing how they represent each entity and its attributes. Supplier Number is a primary key for the SUPPLIER table and a foreign key for the PART table. FIGURE 6-4 (cont.)