TRANSFER Installation and Management Guide

Partitioning the Session File
Troubleshooting
13198 Tandem Computers Incorporated 12–11
More Than Two Secondary Partitions
To provide balanced partitioning for more than two secondary partitions on the
Session file, you use a 14-byte partition key. To figure the values of the partition keys,
use the FUP INFO STAT command on an existing Session file to determine the number
of records in the file. Then divide the number of records in the file by the number of
desired partitions.
After the records-per-partition has been calculated, use the following FUP command
to display selected records to determine partition key values.
FUP COPY
filename
,,
FIRST
records-per-partition * secondary partition #
,
COUNT 1, SHARE,BYTE,D,RECIN 14
The 14 bytes of the record that are displayed should be used as the key for that
partition. For example, if the file is to have three secondary partitions and the file has
a total of 20,000 records, the 5,000th and 10,000th and 15,000th record should be copied
and the first 14 bytes used as the partition key value.
The last partition needs to be approximately twice the size of the other partitions. This
larger partition is used by the asynchronous processes where the high volume of
activity causes the file to grow faster than the other partitions do.