DB Record Distribution Statistics report
This report contains statistics about database record distribution.
The following information is included in the report:
- Statistics about the locations of HDAM or PHDAM root segment
- How long and how the HDAM or PHDAM RAP chains are distributed
- The number of dependents stored in the same block or CI as their root segment
- The number of dependents stored in the same block or CI as their segment code, and the percentage of each that is included in the root block.
This report is produced unless you specify DBDIST=NO on the REPORT statement, or INCORE=NO on the OPTION statement. This report is available only for HD databases. This report provides information about the data set. If the database is HALDB, this report provides information about each partition.
For report examples, see Report example.
Report example
The following figures show an example of the report.
First portion of the report
The report fields are as follows:
- DBNAME DB# PARTNAME PART ID REORG# DSG# DDNAME DSNAME DBORG
- The name of the DBD, the database number (in hexadecimal), the name of the partition, partition id, partition reorganization number, the data set group number (in hexadecimal) or the data set group ID (in an alphabetic character), the ddname of this data set group, the name of the data set, and the organization type of the data set
- MAXIMUM ROOTS PER BLOCK
- The maximum number of root segments contained in one Block (OSAM DB) or CI (VSAM DB)
- BLOCKS WITHOUT ROOT SEGMENTS IN RAA
- The number of blocks that do not have root segments in the root addressable area (RAA)
DISTRIBUTION OF ROOT SEGMENTS (HDAM/PHDAM ONLY)
This part shows how the HDAM or PHDAM roots were distributed relative to their home block. If the distribution of the root segment part is requested with the OPTION HOMECHK=(YES,-nnn,+mmm) option in the PROCCTL statement, HD Pointer Checker generates it. If the database is PHDAM, HD Pointer Checker generates the part for each partition.
- LOCATION
- The block location, relative to the home block, where the root segment was found. The locations, within -200 to +200 block to the home block, are indicated by every one block. The locations, relatively lower than -200 and upper than +200 to the home block, are indicated by every 100 blocks.
- NUMBER OF ROOTS
- The number of roots that were placed within the associated relative block
- PERCENTAGE
- The percentage of roots that were placed within the associated relative block
- TOTAL NUMBER OF ROOT SEGMENTS
- The total number of root segments, and the total percentage of root segments (always 100.0%)
- NUMBER OF ROOT SEGMENTS IN HOME BLOCKS
- The number of root segments that are stored in the same blocks as they are assigned by the randomizing routine, and what percentage it makes of the total number of root segments
- NUMBER OF ROOT SEGMENTS NOT IN HOME BLOCKS
- The number of root segments that are not stored in the same blocks as they are assigned by the randomizing routine, and what percentage it makes of the total number of root segments
DISTRIBUTION OF RAP CHAIN LENGTHS (HDAM/PHDAM ONLY)
- CHAIN LENGTH
- The number of roots that were randomized to a particular RAP. A chain length of 1 means the number of roots that has no synonym root.
- NUMBER OF RAPS
- The number of RAPs that have this chain length
- NUMBER OF ROOTS
- The total number of roots involved in this chain length
- PERCENTAGE OF ROOTS
- The percentage of the total number of roots involved in this chain length
- CUMULATIVE OF PERCENTAGE
- The cumulated value of PERCENTAGE OF ROOTS
- RAPS USED (ACTIVE)
- The number of RAPS one or more of whose roots are randomized
- RAPS NOT USED
- The number of RAPS whose roots are not randomized
- TOTAL RAPS
- The total number of roots in this HDAM database or PHIDAM partition
- MAXIMUM ROOTS PER RAP
- The maximum number of the chain length. If the number exceeds 254, it is displayed as 255+.
- AVERAGE ROOTS PER ACTIVE RAP
- The average number of roots per RAP that is active
- AVERAGE ROOT PER TOTAL RAP
- The average number of roots per total RAPs
- NUMBER OF SYNONYM CHAINS
- The total number of synonym chains. The number of chains whose length is one is not included.
- AVERAGE ROOTS PER SYNONYM CHAINS
- The total number of synonym roots for synonym chains divided by the total number of synonym chains. Neither the number of roots nor the number of chains whose length is one is included.
SUMMARY OF DEPENDENT SEGMENTS DISTRIBUTION
This part shows the summary of dependent segments distribution.
- NUMBER OF DEPENDENTS IN AS SAME BLOCK AS ROOT
- The number of dependent segment occurrences that are in the same block as root segment occurrence
- AVERAGE DEPS IN AS SAME BLOCK AS ROOT PER ROOT
- The average number of dependent segment occurrences that are in the same block as root segment occurrence
- NUMBER OF DEPENDENTS IN THE DIFFERENT BLOCK TO ROOT
- The number of dependent segment occurrences that locate in a different block from root segment occurrence
- DISTRIBUTION OF DEPENDENT SEGMENTS IN ROOT BLOCK
- This part shows the number of root segments that have exactly 0, 1, ..., 23, or 24+ dependent segments in the same block. It also shows the total number of root segments in this data set group or partition.
- DISTRIBUTION OF DEPENDENT SEGMENTS BY SEGMENT CODE
- This part shows the number of dependent segments with segment
code 2, 3, ..., 23, or 24+ that are stored in the same block as their
root segment. It also shows the number of dependent segments with
segment code 2, 3, ..., 23, or 24+ in this data set group or partition.
The following three fields are headings for DISTRIBUTION OF DEPENDENT SEGMENTS BY SEGMENT CODE:
- #DEPS IN ROOT BLOCK
- The number of dependent segments in the root block in which the segments exist
- #DEPS IN ALL BLOCKS
- The number of dependent segments in all blocks
- PERCENTAGE (ROOT/ALL)
- The percentage of the above values; #DEPS IN ROOT BLOCK to #DEPS IN ALL BLOCKS
This part also shows the total number of dependent segments in this data set group.