File Based and Database Approach Methods
File Based and Database Approach Methods
At the beginning, you should understand the rationale of replacing the traditional filebased system with the database system.
File-based System
File-based systems were an early attempt to computerize the manual filing system. Filebased system is a collection of application programs that perform services for the endusers. Each program defines and manages its data. However, five types of problem are occurred in using the file-based approach:
Duplication of data
When employing the decentralized file-based approach, the uncontrolled duplication of data is occurred. Uncontrolled duplication of data is undesirable because: i. Duplication is wasteful ii. Duplication can lead to loss of data integrity
Data dependence
Using file-based system, the physical structure and storage of the data files and records are defined in the application program code. This characteristic is known as programdata dependence. Making changes to an existing structure are rather difficult and will lead to a modification of program. Such maintenance activities are time-consuming and subject to error.
Database Approach
In order to overcome the limitations of the file-based approach, the concept of database and the Database Management System (DMS) was emerged in 60s. Advantages A number of advantages of applying database approach in application system are obtained including:
Data consistency
By eliminating or controlling redundancy, the database approach reduces the risk of inconsistencies occurring. It ensures all copies of the idea are kept consistent.
Sharing of data
Database belongs to the entire organization and can be shared by all authorized users.
Improved security
Database approach provides a protection of the data from the unauthorized users. It may take the term of user names and passwords to identify user type and their access right in the operation including retrieval, insertion, updating and deletion.
Enforcement of standards
The integration of the database enforces the necessary standards including data formats, naming conventions, documentation standards, update procedures and access rules.
Economy of scale
Cost savings can be obtained by combining all organization's operational data into one database with applications to work on one source of data.
Increased productivity
The database approach provides all the low-level file-handling routines. The provision of these functions allows the programmer to concentrate more on the specific functionality required by the users. The fourth-generation environment provided by the database can simplify the database application development.
Improved maintenance
Database approach provides a data independence. As a change of data structure in the database will be affect the application program, it simplifies database application maintenance.
Increased concurrency
Database can manage concurrent data access effectively. It ensures no interference between users that would not result any loss of information nor loss of integrity.
Disadvantages
In split of a large number of advantages can be found in the database approach, it is not without any challenge. The following disadvantages can be found including:
Complexity
Database management system is an extremely complex piece of software. All parties must be familiar with its functionality and take full advantage 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 number 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 cater for many applications rather than exclusively for a particular one, some applications may not run as fast as before.