modulo

modulo


meta characters Index Level overflow protection
Syntax
Category Definitions
Type Definition
Description designates the number of groups (measured in frames) in the primary file space, as indicated during the creation or reallocation of the file.

The modulo is always an integer remainder in the range 0 to modulo-1. The formula to determine the frame number of the initial frame of the group where the item is located is: fid=base+(item.id/modulo). This initial frame number is commonly called the "base fid".

The modulo of a file is a critical component of the "hashing" algorithm access method. It should never be altered in any file-defining item, as this can cause such problems as gfe's to appear.

During the full or account-restore processes, files are resized according to the optional modulo found in the "reallocation" attribute (attribute 13) of the file-defining item. After changing to the new modulo, all items must be re-hashed before they are replaced. This can cause restore processes (also t-load and copy) to run considerably slower.
Options
See Also hashing create-file item modulo hashing item-id t-load full restore gfe handler primary file space linked overflow frame group resize f.modulo
Example
Warnings
Compatibility D3 7.0 AP R83
meta characters Index Level overflow protection