Advantages of Database Systems | Database Management System

Advantages of Database Systems | Database Management System

Advantages of Database Systems | Database Management System : As shown in the figure, the DBMS is a central System which provides a common interface between the data and the various front-end programs in the application. It also provides a central location for the whole data in the application to reside.

Due to its centralized nature, the database system can overcome the disadvantages of the file-based system as discussed below.

Advantages of Database Systems | Database Management System

Minimal Data Redundancy  :

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. However, this does not mean all redundancy can be eliminated. There could be business or technical reasons for having some amount of redundancy. Any such redundancy should be carefully Controlled and the DBMS should be aware of it.

 

Data Consistency :

Reduced data redundancy leads to better data consistency.

Data Integration :

Since related data is stored in one single database, enforcing data integrity is much easier. Moreover,

the functions in the DBMS can be used to enforce the integrity rules with minimum programming in the

application programs.

Data Sharing :

Related data can 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.

Enforcement of Standards :

Enforcing Standards in the organization and structure of data files is required and also easy in a

Database System, since it is one single set of programs which is always interacting with the data files.

Application Development Ease :

The application programmer need not build the functions for handling issues like concurrent access, security, data integrity, etc. The programmer only needs to implement the application business rules. This brings in application development ease. Adding additional functional modules is also easier than in file-based systems.

Better Controls :

Better controls can be achieved due to the centralized nature of the system.

Data independence :

The architecture of the DBMS can be viewed as a 3-level system comprising the following:

  • The internal or the physical level where the data resides.
  • The conceptual level which is the level of the DBMS functions.
  • The external level which is the level of the application programs or the end user.

 

Data Independence is isolating an upper level from the changes in the organization or structure of a lower level. For example, if changes in the file organization of a data file do not demand for changes in the functions in the DBMS or in the application programs, data independence is achieved. Thus Data Independence can be defined as immunity of applications to change in physical representation and access technique. The provision of data independence is a major objective for database systems.

Reduced Maintenance :

Maintenance is less and easy, again, due to the centralized nature of the system.

Some More Advantages of using a DBMS :                  

There are three main features of a databasemanagement System that make it attractive to use a DBMS in preference to more conventional software. These features are centralized data management, data independence, and systems integration.

In a database system, the data is managed by the DBMS and all access to the data is through the DBMS providing a key to effective data processing. This contrasts with conventional data processing systems where each application program has direct access to the data it reads or manipulates. In a conventional DP System, an Organization is likely to have several files of related data that are processed by several different application programs.

 

In the Conventional data processing application programs, the programs usually are based on a Considerable knowledge of data structure and format. In such environment any change of data structure or format would require appropriate changes to the application programs. These changes could be as small as the following:

  1. Coding of somefield is changed. For example, a null value that was coded as -1 is now coded as-9999.
  2. A new field is added to the records.
  3. The length of one of the fields is changed. For example, the maximum number of digits in a telephone number field or a postcode field needs to be changed.
  4. The field on which the file is sorted is changed.

If some major changes were to be made to the data, the application programs may need to be rewritten. In a database System, the database management system provides the interface between the application programs and the data. When changes are made to the data representation, the metadata maintained by the DBMS is changed but the DBMS Continues to provide datato application programs in the previously used way. The DBMS handles the task of transformation of data wherever necessary.

 

This independence between the programs and the data is called data independence. Data independence is important because every time Some change needs to be made to the data structure, the programs that were being used before the change would continue to work. To provide a high degree of data independence, a DBMS must include a sophisticated metadata management system.

 

In DBMS, all files are integrated into one system thus reducing redundancies and making data management more efficient. In addition, DBMS provides centralized control of the operational data. Some of the advantages of data independence, integration and Centralized control are:

  1. Redundancies and inconsistencies can be reduced :

In conventional data systems, an organisation often builds a collection of application programs often created by different programmers and requiring different components of the operational data of the organisation. The data in conventional data Systems is often not centralised. Some applications may require data to be combined from several systems. These several systems could well have data that is redundantas well as inconsistent (that is, different copies of the same data may have different values). Data inconsistencies are often encoutered in everyday life. For example, we have all come across situations whena new address is communicated to an organisation that we deal with (e.g., a bank, or Telecom, or a gas company), we find that some of the communications from that organisation are received at the new address while others continue to be mailed to the old address. Combining all the data in a database would involve reduction in redundancy as well as inconsistency. It also is likely to reduce the costs for collection, storage and updating of data.

 

 

  1. Better service to the Users :

A DBMS is often used to provide better service to the users. In conventional systems, availability of information is often poor since it normally is difficult to obtain information that the existing systems were not designed for. Once several conventional Systems are Combined to form One Centralised database, the availability of information and its up-to-dateness is likely to improve since the data can now be shared and the DBMS makes it easy to respond to unforseen information requests.

 

Centralizing the data in a database also often means that users can obtain new and combined information that would have been impossible to obtain otherwise. Also, use of a DBMS should allow users that do not know programming to interact with the data more easily.

The ability to quickly obtain new and combined information is becoming increasingly important in an environment where various levels of governments are requiring organisations to provide more and more information about their activities. An organisation running a conventional data processing system would require new programs to be written (or the information compiled manually) to meet every new demand.

  1. Flexibility of the system is improved :

Changes are often necessary to the Contents of data stored in any system. These changes are more easily made in a database than in a conventional System in that these changes do not need to have any impact on application programs.

  1. Cost of developing and maintaining systems is lower :

As noted earlier, it is much easier to respond to unforseen requests when the data is centralized in a database than when it is stored in Conventional file systems. Although the initial cost of setting up of a database can be large, one normally expects the Overall cost of setting up a database and developing and maintaining application programs to be lower than for similar service using conventional Systems since the productivity of programmers can be substantially higher in using non-procedural languages that have been developed with modern DBMS than using procedural languages.

  1. Standards can be enforced :

Since all access to the database must be through the DBMS, Standards are easier to enforce. Standards may relate to the naming of the data, the format of the data, the structure of the data etc.

  1. Security can be improved :

In conventional systems, applications are developed in an adhoc manner. Often different system of an organisation would access different components of the operational data. In such an environment, enforcing Security can be quite difficult.

Setting up of a databasemakes it easier to enforce Security restrictions since the data is now centralized. It is easierto Control who has access to what parts of the database. However, setting up a database can also make it easier for a determined person to breach security. We will discuss this in the next section.

  1. Integrity can be improved :

Since the data of the organization using a database approach is centralized and would be used by a number of users at a time, it is essential to enforce integrity controls.

Integrity may be compromised in many ways. For example, someone may make a mistake in data input and the salary of a full-time employee may be input as S4,000 rather than S40,000. A student may be shown to have borrowed books but has no enrolment. Salary of a staff member in one department may becoming out of the budget of another department.

 

if a number of users are allowed to update the same data item at the same time, there is a possibility that the result of the updates is not quite what was intended. For example, in an airline DBMS we could have a situation where the number of bookings made is larger than the capacity of the aircraft that is to be used for the flight. Controls therefore must be introduced to prevent such errors to occur because of concurrent updating activities. However, since all data is stored only once, it is often easier to maintain integrity than in Conventional Systems.

  1. Enterprise requirements can be identified :

All enterprises have sections and departments and each of these units often consider the work of their unit as the most important and therefore consider their needs as the most important. Once a database has been set up with centralised control, it will be necessary to identify enterprise requirements and to balance the needs of competing units. It may become necessary to ignore some requests for information if they Conflict with higher priority needs of the enterprise.

  1. Data model must be developed :

Perhaps the most imporrant advantage of setting up a database system is the requirement that an overall data model for the enterprise be built. In conventional systems, it is more likely that files will be designed as needs of particular applications demand. The Overall view is often not considered. Building an Overall view of the enterprise data, although often an expensive exercise, is usually very cost-effective in the long term.