Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Data Redundancy
In file processing system, the same data may be duplicated in several files.
Suppose there are two files “Students” and “Library”. The file “Student”
contains the data Roll No, name, address and telephone number and other
details of all students in a college. The file “Library” contains the Roll No and
name of those students who get a book from library along with the
information about the book. The data of one student appears in two files. This
is known as data redundancy. This redundancy causes higher storage.
Data Inconsistency
File system approach can also result in data inconsistency. Inconsistency
means that two files many contain different data of the same student. For
example, if the address of a student is changed, it must be changed in both
files. There is a possibility that is is changed in the “Students” file and not
from “Library” file. The data becomes inconsistent in this situation.
Lack of Flexibility
The file processing system is not very flexible. It cannot easily generate the
information that is different from routine. It can take a lot of time to collect
the data from different files and write programs to produce the desired
information.
Integrity Problems
Integrity means reliability and accuracy of data. The stored data must satisfy
certain types of consistency constrains. For example, Roll No and Marks of
students should be numeric value. It is very difficult to apply these constrains
on files in file processing system.
Security Problems
File processing system does not provide adequate security on data. In some
situations, it is required to provide different types of access to data for
different users. For example, a data entry operator should only be allowed to
enter data. The chairman of the organization should be able to access or delete
the data completely. Such types of security options are not available in file
processing system.
Data Isolation
Atomicity
Suppose the system fails when the computer performed the first step. It
means that the amount has been deducted from account A but not has been
Accessing the same data from the same file by different users at a time is
called concurrent access. In the file system, concurrent access leads to
incorrect data. For example, a student wants to borrow a book from the
library. He searches for the book in the library file and sees that only one
copy is available. At the same time another student also, wants to borrow
same book and checks that one copy available. First student opt for borrow
and gets the book. But it is still not updated to zero copy in the file and the
second student also opt for borrow! But there are no books available. This is
the problem of concurrent access in the file system.