With file system there will be many separate and unrelated files. Data redundancy will results in data inconsistency as different and conflicting versions of the same data appear in different places. Moreover, errors are more likely to occur when complex entries are made in several different files and recur frequently in one or more files. Additionaly, data anomalies will develop when required changes in redundant data are not made successfully. This lead to inefficiency of data queries.
While, using database, the logically related data will be stored in a single logical data repository. Since the whole data resides in one central database, the various programs in the application can access data in different data files. Hence data present in one file need not be duplicated in another. This reduces data redundancy and this leads to better data consistency. Since related data is stored in one single database, enforcing data integrity is much easier. Related data can also be shared across programs since the data is stored in a centralized manner. Even new applications can be developed to operate against the same data. Moreover, better controls can be achieved due to the centralized nature of the system.