DBMS vs file system
Differentiate between DBMS and file system, difference table of Dbms vs File system, Dbms vs file system.
DBMS
- DBMS is a collection of data. In DBMS, the user is not required to write the procedures.
- DBMS gives an abstract view of the data which hides the details.
- DBMS provides a crash recovery mechanism, i.e. protects the user from the failure of the DBMS system.
- DBMS provides a good protection mechanism.
- There are many types of sophisticated techniques to store and retrieve data in DBMS.
- The DBMS takes care of the concurrent access to the data by using some kind of locking.
File system
- File system is a collection of data. In this system, the user has to write procedures to manage the database.
- The file system provides the representation of the data and the details of the storage of the data.
- There is no crash mechanism in the file system, that is, if the system crashes while entering some data, the contents of the file will be lost.
- It is very difficult to protect a file under the file system.
- File system cannot store and retrieve data efficiently.
- In the file system, concurrent access has many problems such as redirecting files while deleting other information or updating some information.