Difference between File System and DBMS:
Basis File System DBMS
Structure It is a software that manages is software for managing the
and organizes the files in a database
storage medium within a
computer
Data Redundancy Redundant data can be present In DBMS there is no redundant
in a file system data.
Backup and Recovery It does not provide backup and It provides backup and recovery
recovery of data if it is lost of data even if it is lost.
Query processing There is no efficient query Efficient query processing is
processing in the file system. there in DBMS.
Consistency There is less data consistency There is more data consistency
in the file system because of the process of
normalization.
Complexity It is less complex as compared It has more complexity in
to DBMS. handling as compared to the file
system.
Security Constraints File systems provide less DBMS has more security
security in comparison to DBMS mechanisms as compared to file
systems.
Cost It is less expensive than DBMS. It has a comparatively higher
cost than a file system.
Data Independence There is no data independence In DBMS data independence
exists
User Access Only one user can access data Multiple users can access data
at a time at a time
Meaning The user has to write The user not required to write
procedures for managing procedures.
databases
Sharing Data is distributed in many files.
So, not easy to share data
Data Abstraction It give details of storage and It hides the internal details of
representation of data Database
Integrity Constraints Integrity Constraints are difficult Integrity constraints are easy to
to implement implement
Example Cobol, C++ Oracle, SQ