Fujitsu UDS/SQL V2.5 사용자 설명서

다운로드
페이지 324
General information
Relative merits of the data models
U929-J-Z125-9-76
  
35
D
ok
us
c
h
abl
on
en
 1
9x
24 V
e
rs
ion
 7
.3
us
 f
ü
r F
ram
eM
ak
er
 V
7
.x
v
o
m
 1
4.
02
.2
00
7
©
 c
o
gni
tas
 Gm
b
H
 20
01-
20
07
18
. Ok
tobe
r 20
07
  S
ta
nd
 1
1:
29
.4
8
P
fa
d:
 G
:\
v
og
t\
fs
c
\ud
s
\M
anu
al
e
\e
n\
ud
s
e
nt
_e\
u
ds
ent
.k
0
2
2.2.3
Relative merits of the data models 
Comparing the data models with one another in terms of quality is difficult and possible only 
from the perspective of a specific field of application. Especially an attempt to weight the 
relative advantages and disadvantages of the models can be made only for a specific appli-
cation. 
Basically, all data structures can be implemented with either of the two models. 
Advantages of the relational model 
The clear advantage of the relational model is its greater flexibility in regard to data struc-
tures. 
Since the application programs are not dependent on the data structures, the data struc-
tures can in many cases be changed without affecting the applications. Through the use of 
views, the underlying data structures can be hidden completely from the users. 
Advantages of the CODASYL model 
A major advantage of the CODASYL model lies in the performance of the application. 
The CODASYL model explicitly defines not only the record types and tables, but also their 
relationships to one another. This means that the relationships between the record types 
must also be known to the applications. Since the applications build on the defined data 
structures, the applications are optimally adjusted to them. This adaptation of the applica-
tions to the data structures known to the database system has a very favorable effect on the 
applications’ performance.
Of course, this favorable influence of the data structures on the applications is achieved at 
the cost of flexibility. In many cases, alterations to the data structures have an effect on the 
applications. 
A further advantage of the CODASYL model lies in its monitoring of referential integrity
A database system based on the CODASYL model automatically ensures that the defined 
logical relationships between the record types are not violated.