Scalable Database Server, HiRDB Version 8 Installation and Design Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(1) HiRDB/Single Server
| Type |
Formula |
| Number of message queue identifiers |
(7 + f) a + 25 |
| Number of semaphore identifiers |
{ { 2 (b + 3) + 12} 64 + c 64 + g + 5 } a + 2 + d |
| Number of semaphores(Total number of semaphores per identifier) |
{2 (b + 3) + c + h + 37} a + 3 + e |
- a: 1 (single server) or 0 (utility special unit)
- b: Value of pd_max_users operand + value of pd_max_reflect_process_count operand.
- c: Number of pdbuffer operands specified (number of global buffers)
- d: Add when the system switchover facility is being used; determine the value from the table below.
- e: Add when the system switchover facility is being used; determine the value from the following table:
| Condition |
Value of d |
Value of e |
| pd_ha_acttype=monitor (or default) |
0 |
0 |
| pd_ha_acttype= server |
pd_ha_agent=standbyunit |
1 |
7 |
| pd_ha_agent omitted |
pd_ha_server_process_standby=Y
(or default) |
1 |
2 |
| pd_ha_server_process_standby=N |
0 |
1 |
- 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
- h: Value of the pd_dfw_awt_process operand + 1 (if a value is specified in the pd_dfw_awt_process operand) or 0
(2) HiRDB/Parallel Server
For details about the variables used in the formulas, see (c) Variables used in the formulas.
(a) When the standby-less system switchover (effects distributed) facility is not used
| Type |
Formula |
| Number of message queue identifiers |
b
Vi + 2 a + 3 b + c + d + e + 24
i = 1 |
| Number of semaphore identifiers |
b
{ (Si + Ti + Ui) 64 + Wi} + 6 b + 2 + f
i = 1 |
| Number of semaphores (total number of semaphores per identifier) |
b
(Si + Ti + Ui + Xi) + 26 b + 3 + g
i = 1 |
(b) When the standby-less system switchover (effects distributed) facility is used
| Type |
Formula |
| Number of message queue identifiers |
b
Vi + 2 a + 3 b + c + d + e + 24
i = 1 |
| Number of semaphore identifiers |
b
{ {Yi (j + k)} 64 + Wi} + 6 b + 2 + f
i = 1 |
| Number of semaphores (total number of semaphores per identifier) |
b
{Yi (j + k) + Xi} + 26 b + 3 + g
i = 1 |
(c) Variables used in the formulas
- a: Number of front-end servers in the server machine
- b: Number of dictionary servers and back-end servers in the server machine
- c: 2 (front-end server) or 0 (other server)
- d: 5 (dictionary server) or 0 (other server)
- e: 5 (back-end server) or 0 (other server)
- f: Add when the system switchover facility is being used; determine the value from the table below.
- g: Add when the system switchover facility is being used; determine the value from the table below.
| Condition |
Value of f |
Value of g |
| pd_ha_acttype=monitor (or omitted) |
0 |
0 |
| pd_ha_acttype=server |
pd_ha_agent=standbyunit |
1 |
h |
| pd_ha_agent omitted |
pd_ha_server_process_standby=Y
(or omitted) |
1 |
i |
| pd_ha_server_process_standby=N |
0 |
1 |
- h: 6 + 2
(total number of front-end servers, dictionary servers, and back-end servers in the server machine)
- i: 1 + (total number of front-end servers, dictionary servers, and back-end servers in the server machine)
- j: Number of host BESs
- k: Number of guest BESs
- Si: Number of pdbuffer -r operands defined for RDAREAs placed in each server
- Ti: Number of pdbuffer -i operands defined for RDAREAs placed in each server
- Ui: Number of -o options specified in the pdbuffer operand
- Vi: 1 (if 1 or greater is specified in the pd_max_ard_process operand) or 0
- Wi: 2 (if a value is specified in the pd_dfw_awt_process operand) or 0
- Xi: Value of the pd_dfw_awt_process operand + 1 (if a value is specified in the pd_dfw_awt_process operand) or 0
- Yi: Number of -c options specified in the pdbuffer operand
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.