0% found this document useful (0 votes)
4 views

Lecture 2

Uploaded by

khanilm776
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Lecture 2

Uploaded by

khanilm776
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Difference between File and

Database Approach

File Based Approach Database Approach

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

The data may be duplicated in The data are not duplicated and
different files that cause data appears only once.
redundancy.
Difference between File and
Database Approach

File Based Approach Database Approach

The same data in different file may The data appear only once so it is
be different that creates in always consistent.
consistency.

The data is separately stored in The data is stored in tables which


various files and it is difficult for are linked together. The applications
application to retrieve the can retrieve the required data
appropriate data. easily.
Difference between File and
Database Approach

File Based Approach Database Approach

The data is distributed in many The data is stored at one place and
different files and cannot be shared. can be shared easily.

It is difficult to apply data integrity Database approach provides many


checks on files. constraints for data integrity.
Difference between File and
Database Approach

File Based Approach Database Approach

It provides poor security as the data It provides many procedures to


is widely spread. maintain data security.

It is difficult to maintain as it It provides many facilities to


provides less controlling facilities. maintain the program easily
Difference between File and
Database Approach

File Based Approach Database Approach

It is less complex system It is more complex system

The cost is very less than DBMS The cost is much more than file
system.

You might also like