The table below shows formulas for determining the values to be set for environment variables related to the number of resources. Specify these values in the Windows system environment variables. If the obtained value is greater than the default value for the corresponding environment variable, set the obtained value in the environment variable. Otherwise, a problem may result, such as HiRDB cannot be started or a utility cannot be executed.
Table 20-1 Values of environment variables related to the number of resources (HiRDB/Single Server)
Type | Formula | Corresponding environment variable | Default |
---|---|---|---|
Number of message queue identifiers | (16 + f) x a + 28 + 1 | PDUXPLMSGMNI | 50 |
Number of message queue tables | b x number of units + A + B | PDUXPLMSGTQL | 80 |
Number of semaphore identifiers | {![]() ![]() ![]() ![]() ![]() ![]() | PDUXPLSEMMAX | 64 |
Shared memory usage count | ![]() ![]() | PDUXPLSHMMAX | 4,096 |
A: Use the following value:
m![]() i = 1 Number of global buffer pools allocated to server i#1 + skip count of effective synchronization point dumps on server i#2 x 2 + maximum number of concurrent pdloads, pdrorgs, pdrbals, and no-log mode UAPs that can be executed on server i + 1 } m: 1
|
B: Add the following value if you specified 1 or a greater value in the pd_max_ard_process operand:
m![]() i = 1 Sum of the pdbuffer -m values for global buffer pools allocated to server i } m: 1 |
Condition | Value of d | ||
---|---|---|---|
pd_ha_acttype=monitor (or default) | 0 | ||
pd_ha_acttype=server | pd_ha_agent=standbyunit | 1 | |
Omit pd_ha_agent | pd_ha_server_process_standby=Y (or default) | 1 | |
pd_ha_server_process_standby=N | 0 |
h: (total amount of shared memory used by global buffers#
SHMMAX value)
i: If the pd_audit_def_buffer_size operand's value is greater than 0, the value of b; otherwise, 0