You are on page 1of 2

Difference between File Processing System and Database system

The difference between file processing system and database approach is as follow:
File based system Database system

The data and program are inter- dependent. The data and program are independent of each other.

  File-based system caused data redundancy. The data may be Database system control data redundancy. The data appeared
duplicated in different files only once in the system.
File –based system caused data inconsistency. The data in different files In database system data always consistent. Because data
may be different that cause data inconsistency. appeared only once.
The data cannot be shared because data is distributed in different files. In database data is easily shared because data is stored at one
place.
In file based system data is widely spread. Due to this reason file based It provides many methods to maintain data security in the
system provides poor security. database.
File based system does not provide consistency constrains. Database system provides a different consistency constrains to
maintain data integrity in the system.
File based system is less complex system. Database system is very complex system.

The cost of file processing system is less then database system. The cost of database system is much more than a file processing
system.
File based system takes much space in the system, and memory is Database approach store data more efficiently it takes less
wasted in this approach. space in the system and memory is not wasted.
10. To generate different report to take a crucial decision is very difficult in
   The report can be generated very easily in required format in
file based system. database system. Because data in database is stored in an
organized manner. And easily retrieve to generate different
report.
11. File based system does not provide concurrency facility.
   Database system provides concurrency facility.

12. File based system does not provide data atomicity functionality.
   Database system provides data atomicity functionality.

13. The cost of file processing system is less than database system.
   The cost of database system is more than file processing
system.
14. It is difficult to maintain as it provides less controlling facility.
   Database provides many facility to maintain program.

15. If one application fail it does not affects other files in system.
   If database fail it affects all application that dependent on
database
16. Hardware cost is less than database system
   Hardware cost is high in database than file system.

Us separate data file for each application All Application shares a pool of related and integrated data.

Dat a redundancy – independent data files included a lot of duplicated Minimal data redundancy – Separate data files are integrated in
data. to a single, logical structure.
S data is recorded and stored in several files. Each occurrence of a data item is recorded only once

Dat inconsistency – several versions of the same data may exist. Single version of data exist

Same update must be done in all occurrences of same data item in Single update is required.
each file.
Users have very little opportunity to share data outside of their own A database is developed to share the data among the user who
application. access to it
There is no centralized control for overall data in different files. There is centralized control for overall data in database.

Data dependence – description of files, records and data items are Data independence – the database system separates data
embedded within individual application programs. descriptions from the application programs that use the data in it
Modification to data files requires the programs which access that file Data structure can be modified without changing the programs
to be modified. accessing the data
High program maintenance Less program maintenance

Lack of data integration – accessing data in several files are difficult Data are organized in to a single logical structure with logical
relationships defined between associated data
D Difficult to manipulation data Easy to manipulation data

File System is a general, easy-to-use system to store general files which Database management system is used when security constraints
require less security and constraints. are high
Centralization is hard to get when it comes to File Management Centralization is achieved in Database Management System.
System.
User locates the physical address of the files to access data in File In Database Management System, user is unaware of physical
Management System. address where data is stored.
Security is low in File Management System. Security is high in Database Management System.

File Management System stores unstructured data as isolated data Database Management System stores structured data which
files/entities. have well defined constraints and interrelation.

You might also like