What are the limitations of file system that can be removed by using database?
Traditionally, the file system was used for data management. Data was stored in files and users access those files directly by going at the location of the file physically. But things become harder when the amount of data stored in the files get increased. How will you search a file from millions of files available to you? Will you go one by one to each file and search for your file? No. It is very tedious and next to impossible process. Also, when we are having some online or digital data, then we store our data in some database and particular software is used to handle the database(read more about database and DBMS from here ). So, there is a lot of difference between the traditional file system and the Database Management System. In this blog, we will see the difference between these two. So, let's get started. Show
File SystemThe file system is a traditional way of storing data where the user saves the file manually at any location. It is an easy way to store texts, audio, video but here security is a major concern. The options which are given by the operating system in the name of security are very limited. Only options which we have are locks and hidden files. Also, these files are very hard to maintain and users manually go to these locations to access these files. So, there were many problems with this file system. Let's now see in details these problems: Problems with the traditional file system
These are some of the drawbacks of the file system that are removed by the Database Management System. Let's see how. Database Management SystemAs we have seen above that file system had many problems. So, DBMS came as a saviour and resolved these problems. As the main problem with the file system was security, DBMS is an effective way to store the data when security is the major concern of the user. DBMS stores the data in the form of interrelated tables and files. This reduces the redundancy of data as the data here is centralized(you can read more about the characteristics of DBMS from here ). Also, access to data is very fast when we use DBMS. It provides us with an interface or a tool, to perform various operations like: We discussed earlier some of the limitations of applications that rely on traditional file management. What are the advantages of the database approach?
Review Question What are the relative advantages of the database approach? These advantages add greatly to the incentive for firms relying on legacy systems to move to database-supported applications. What are the limitations of file systems how can they be solved using database systems?Data Redundancy: It is possible that the same information may be duplicated in different files but in relational DBMS chances are very less.. Data Inconsistency.. Difficulty in Accessing Data.. Limited Data Sharing.. Integrity Problems.. Atomicity Problems.. Concurrent Access Anomalies.. Security Problems.. What are the limitations of file system that can be overcome?In a File System, there are several limitations like Redundancy, inconsistency, Difficulty in accessing data, Integrity Problems, Security Problems, etc. To overcome these limitations, a relational DBMS is preferred.
What are the limitations of file system for which we prefer database system?There is no redundancy and inconsistency in data due to centralization of the database. Accessing data in file system isn't as easy as DBMS. Accessing data is easier in DBMS as compared to a file system. There is no data independence in file system.
What are the limitations of file system that lead to the evolution of database system?Drawbacks of File system
Data Isolation: Because data are scattered in various files, and files may be in different formats, writing new application programs to retrieve the appropriate data is difficult. Dependency on application programs: Changing files would lead to change in application programs.
|