Advantages of DBMS over FILE System
Advantages of DBMS over FILE System
- Data Redundancy and inconsistency: Redundancy is the concept of repetition of data. Each data may have more than a single copy. The file system cannot control the data as each user keeps the data to run different applications. If two users are maintaining the data of the same file to run different applications, then if one users changes the data, it doesn't reflect in files used by the other users which can lead to inconsistency of the data. DBMS controls redundancy by maintaining a single repository of data that is defined once and accessed by many.
- Data sharing: The file system doesn't allow to share the data and sharing is too complex. DBMS allows easy sharing of data due to centralized system.
- Data concurrency: Concurrent access to data means, more than one user accessing the data. Anomalies occur because changes made by a user can be lost because of the changes made by the other user. The file system doesn't provide any facilities to stop anomalies. DBMS provides locking system to stop anomalies.
- Data searching: DBMS provides inbuilt searching operations. The user has to write a very small query to retrieve the data.
- Data integrity: There may be cases, where some constraints need to be applied to the data before inserting it into the database. DBMS maintains data integrity by enforcing user-defined constraints on data by itself.
- System Crashing: DBMS will have recovery system which retrieves the data.
- Data Security: DBMS has special features that help providing shielding to the data.
- Backup: It creates a Backup subsystem to recollect the lost data if required.
- Easy Maintenance: It is easy to maintain because of it's centralized system.
Source : GeeksforGeeks
Comments
Post a Comment