Ans-:
DBMS |
File System |
DBMS is a collection of data and user is not required to write
the procedures for managing the database. |
File system is a collection of data. Any management with the
file system, user has to write the procedures |
DBMS provides an abstract view of data that hides the details. |
File system gives the details of the data representation and
Storage of data. |
DBMS is efficient to use since there are wide varieties of
sophisticated techniques to store and retrieve the data. |
In File system storing and retrieving of data cannot be done
efficiently. |
DBMS takes care of Concurrent access using some form of locking. |
Concurrent access to the data in the file system has many
problems like a. Reading the file while other deleting some information,
updating some information |
DBMS has crash recovery mechanism DBMS protects user from the
effects of system failures. |
File system doesn’t provide crash recovery mechanism. Eg. While we are entering some data into the file if System
crashes then content of the file is lost. |
DBMS has a good protection mechanism. |
Protecting a file under file system is very difficult. |