Advantages of DBMS-Elmasri
Advantages of DBMS-Elmasri
"-_._--- -
ORT Stude ntN umber StudentName SectionldentifierL~<:)~~~-~Numbe; Grade
17 Smith 112 I MATH2410 B
I
._._-
17
8
8
Smith _.-
Brown
Brown
119
85
92
__ ~_CS1310
MATH2410
CS1310
tt, A
f---
8 I Brown 102 CS3320 B.~._._---
8 .,---
Brown 135 '--
CS3380 A
(b)
I
GRADE_REPORT StudentNumber StudentName Sectionldentifier CourseNumber Grade I I
17 Brown 112 -MATH2410 ' B I I
FIGURE 1.5 Redundant storage of StudentName and CourseNumber in GRADE_REPORT. (a) Consistent
data. (b) Inconsistent record.
GRADE_REPORT can be checked against SECTION records. Such checks can be specified to
the DBMS during database design and automatically enforced by the DBMS whenever the
GRADE_REPORT file is updated. Figure 1.5b shows a GRADE3EPORT record that is inconsistent
with the STUDENT file of Figure 1.2, which may be entered erroneously if the redundancy
is not controlled.
Potential for Enforcing Standards. The database approach permits the DBA to
define and enforce standards among database users in a large organization. This facilitates
communication and cooperation among various departments, projects, and users within
the organization. Standards can be defined for names and formats of data elements,
display formats, report structures, terminology, and so on. The DBA can enforce standards
in a centralized database environment more easily than in an environment where each
user group has control of its own files and software.
FIex i biii ty. It may be necessary to change the structure of a database as requirements
change. For example, a new user group may emerge that needs information not currently
in the database. In response, it may be necessary to add a file to the database or to extend
the data elements in an existing file. Modern DBMSs allow certain types of evolutionary
changes to the structure of the database without affecting the stored data and the existing
application programs.
immediately see this update. This availability of up-to-date information is essential for
many transaction-processing applications, such as reservation systems or banking databases,
and it is made possible by the concurrency control and recovery subsystems of a DBMS.