Fujitsu UDS/SQL V2.5 Network Router User Manual


 
SSL Linkage methods
U929-J-Z125-9-76 155
Dokuschablonen 19x24 Version 7.3us für FrameMaker V7.x vom 14.02.2007 © cognitas GmbH 2001-2007
24. Oktober 2007 Stand 08:58.55 Pfad: G:\vogt\fsc\uds\Manuale\en\udsent_e\udsent.k05
Chain
Sequential access
When records are processed in their logical order, a maximum of one disk access for
each member record is required. The number of accesses can be considerably reduced
by optimizing the placement of the records (see page 165). If the logical order is not
adhered to, UDS/SQL will normally have to search large parts of the set occurrence
which may involve a large number of disk accesses. It should be noted that for reading
a preceding record UDS/SQL must search the set occurrence from the beginning
unless backward chaining has been specified.
If the physical placement of the records changes frequently (e.g. if member records for
a different set are stored as a list), it is advisable to perform occasional reorganization
runs in order to keep the PPPs current (see the "Recovery, Information and Reorgani-
zation" manual, BREORG).
Direct access
ORDER IS SORTED INDEXED:
Analogous to direct access in pointer array.
ORDER IS LAST/FIRST/NEXT/PRIOR/SORTED:
On average, UDS/SQL must search half a set occurrence to find a record. A
maximum of one disk access per record is required.
Insertion
When a record is inserted, it is linked to the preceding and to the subsequent record by
means of pointers.
For this reason, UDS/SQL updates the records preceding and, in the case of backward
chaining, following the record inserted.
ORDER IS SORTED [INDEXED]:
UDS/SQL finds the place where the record is inserted by direct access.
ORDER IS LAST/FIRST/NEXT:
A pointer points from the owner record to the preceding record, or the owner record
is the preceding record, or the preceding record is immediately obtainable by
means of the currency information. Insertion of the record requires a maximum of
two disk accesses.
ORDER IS PRIOR:
UDS/SQL must search the set occurrence from the beginning unless backward
chaining has been specified. If backward chaining has been specified, insertion of
a record requires a maximum of three disk accesses.