File-based systems were the manual based approached used for managing the files. It’s mainly the collection of application programs that used to provide services for the end-users. Each program was defined for a specific task and can’t be used simultaneously with each other.
However, there are many pitfalls of file based system.
When data is isolated in separate files, it is more difficult for us to access data that should be available. The application programmer is required to synchronize the processing of two or more files to ensure the correct data is extracted.
With the use of the decentralized file-based approach, the uncontrolled duplication of data used to occur which can lead to loss of data integrity as well as is wasteful as it occupies unnecessary space in memory storage area.
Using file-based system, the physical structure and storage of the data files and records are defined in the application program code. This makes the file to be program-data dependent. If the user want to make any change in the existing structure it was a difficult a task and will lead to a modification of program. Such maintenance activities are time-consuming and subject to error.
The structures of the file are dependent on the application programming language. However file structure provided in one programming language such as direct file, indexed-sequential file which is available in COBOL programming, may be different from the structure generated by other programming language such as C. The direct incompatibility makes them difficult to process jointly.
File-based systems are very dependent upon the application programmer. Any required queries or reports have to be written by the application programmer. Normally, a fixed format query or report can only be entertained and no facility for ad-hoc queries if offered.
The Database approach too has some disadvantages. They are:
Complexity:
Database management system is an extremely complex piece of software. The users must be familiar with its functionality in-order to make full use of it. Therefore, training for the administrators, designers and users is required.
Size
The database management system consumes a substantial amount of main memory as well as a large amount of disk space in order to make it run efficiently.
Cost of DBMS
A multi-user database management system may be very expensive. Even after the installation, there is a high recurrent annual maintenance cost on the software.
Cost of conversion
When moving from a file-base system to a database system, the company is required to have additional expenses on hardware acquisition and training cost.
Performance
As the database approach is to manage many applications rather than exclusively for a particular one, some applications may not run as fast as before.
Higher impact of a failure
The database approach increases the vulnerability of the system due to the centralization. As all users and applications reply on the database availability, the failure of any component can bring operations to a halt and affect the services to the customer seriously.