FastSort Manual

Sorting Interactively
FastSort Manual429834-003
2-13
Understanding Statistics
Understanding Statistics
After a sort or merge run, FastSort returns statistics to the list file. The list file is either
the OUT file specified in the implicit TACL RUN command for the SORT process or
your home terminal if you do not specify an OUT file. Following is an example of
FastSort statistics:
7 RECORDS 132 MAX RECORD SIZE
00:07 ELAPSED TIME 166 BUFFER PAGES
00:00 I/O WAIT TIME 0 INITIAL RUNS
16 COMPARES 0 FIRST MERGE ORDER
0 SCRATCH DISK 0 MERGE ORDER
0 SCRATCH SEEKS 0 INTERMEDIATE PASSES
0 NUMBER OF DUPLICATES
Errors detected: 0
Warnings detected: 0
The following table lists FastSort statistics:
Statistic Definition
RECORDS The number of records sorted or merged
ELAPSED TIME The time SORTPROG took to process the sort or merge
run
I/O WAIT TIME The time SORTPROG used for calls to READ, WRITE, and
AWAITIO
COMPARES The number of times SORTPROG compared two records
SCRATCH DISK The number of bytes in the scratch file
SCRATCH SEEKS The number of blocked read and write operations on the
scratch file
MAX RECORD SIZE The maximum record size in bytes
BUFFER PAGES The number of 1,024-word pages of memory SORTPROG
used
INITIAL RUNS The number of runs generated by the first pass
FIRST MERGE ORDER The number of runs merged in the first intermediate pass
MERGE ORDER The maximum number of runs that can be merged
INTERMEDIATE PASSES The number of merge cycles between the initial run
formation and the final merge pass
NUMBER OF DUPLICATES The number of records with duplicate keys removed