Scalable Database Server, HiRDB Version 8 Installation and Design Guide

[Contents][Index][Back][Next]

20.1 HiRDB/Single Server

Table 20-1 shows the formulas for determining the values of environment variables related to the number of resources. 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 (7 + f) [Figure] a + 25 PDUXPLMSGMNI 50
Number of message queue tables MAX(b [Figure] number of message queue identifiers, total value of pdbuffer with -m specified) PDUXPLMSGTQL 80
Number of semaphore identifiers {[Figure]{2 [Figure] (b + 3) + 12} [Figure] 64[Figure] + [Figure]c [Figure] 64[Figure] + g + 5} [Figure] a + 2 + d PDUXPLSEMMAX 64
Shared memory usage count 2 [Figure] e + 16 PDUXPLSHMMAX 4096

a: 1 for a single server

b: Value of the pd_max_users operand

c: Number of pdbuffer operands defined

d: Add when the system switchover facility is being used. Determine the value from the following table:
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

e: Value of the pd_max_server_process operand

f: 1 (if 1 or greater is specified in the pd_max_ard_process operand) or 0

g: 2 (if a value is specified in the pd_dfw_awt_process operand) or 0