![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS Companion for the OpenVMS Environment |
| Allocating File Space Appropriately |
The SAS System allocates disk space for external files based on the value of ALQ=. It then extends the file if needed, based on the value of DEQ=. By default, the ALQ= value is 0 (indicating that the minimum number of blocks required for the given file format is used) and the value for DEQ= is 0 (telling OpenVMS RMS to use the process's default value). For more information about specifying the ALQ= and DEQ= options in a FILENAME or FILE statement, see FILENAME and FILE.
Every time a file must be extended, the system must search the disk for free space.
This requires I/Os. When this is done repeatedly for large files, performance degrades. By setting larger ALQ= and DEQ= values for large files, this overhead
will be reduced. Optimal I/O will occur when ALQ= is equal to the size of the file. Because this is not always feasible, it is better to underestimate the value
for ALQ= and
set a larger DEQ= value. This allocates enough space for a smaller file, while extending it occasionally to meet the demands of a larger file. Allocating too much space may be costly
if
/HIGHWATER_MARKING is set on the disk. (For more information, see
Turning Off Disk Volume Highwater Marking.)
| Turning Off Disk Volume Highwater Marking |
$ initialize/nohighwater $DKA470 mydisk
To disable volume highwater marking on an active disk, use a command similar to the following:
$ set volume/nohighwater $DKA200
| Eliminating Disk Fragmentation |
| Specifying Default Multiblock Count |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.