Lecture 2
Lecture 2
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
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 distributed in many The data is stored at one place and
different files and cannot be shared. can be shared easily.
The cost is very less than DBMS The cost is much more than file
system.