Scalable Database Server, HiRDB Version 8 Installation and Design Guide
The size of the memory required for the unit controller from startup to termination of a HiRDB/Single Server is the sum of the process items listed as follows:
Ensure that the size of the shared memory for the entire unit controller does not exceed 2 gigabytes.
| Process item | Shared memory calculation formula (bytes) |
|---|---|
| Scheduler |
|
| Lock server |
c: When pd_lck_hash_entry is omitted or 0 is specified: ( + value of pd_lck_pool_size When 2 or a greater non-prime number is specified for pd_lck_hash_entry: ( When 1 or a prime number is specified for pd_lck_hash_entry: ( d: ((p + 3) value of pd_lck_pool_size g: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) When value of pd_utl_exec_mode = 0 or p ((p + 3) i: When value of pd_utl_exec_mode = 1 and p > 32: ((value of pd_lck_pool_size + p rounded up to the next even value When value of pd_utl_exec_mode = 0 or p ((value of pd_lck_pool_size + 32 rounded up to the next even value n: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) When value of pd_utl_exec_mode = 0 or p ((p + 3) p: value of pd_max_users + value of pd_max_reflect_process_count t: When value of pd_utl_exec_mode = 1 and p > 32: 32 + ((p + 3) When value of pd_utl_exec_mode = 0 or p 32 + ((p + 3) u: When value of pd_utl_exec_mode = 1 and p > 32: 32 + ((value of pd_lck_pool_size + p rounded up to the next even value When value of pd_utl_exec_mode = 0 or p 32 + ((value of pd_lck_pool_size + 32 rounded up to the next even value
|
| Transaction manager | 288 + 32 + 192 + (420 + 528 + 256 + 384
|
| Timer server |
Number of utility servers in unit is 26 + |
| Statistics log server | 384 + 128 + value of pd_stj_buff_size |
| Process server | 160 + 512 a: For a single server: 112. For a utility special unit: 100. |
| System manager | 640 + (44 + 4) a: Number of single server definitions b: Number of single servers in unit c: Number of units d: Number of -c options specified in pdunit operand e: Number of pdcltgrp operands specified f: 2052 + 128 g: For a single server: 91. For a utility special unit: 74. |
| Name server | 169984 |
| Node manager |
|
| I/O server |
|
| Log server | 32 + 48 + 128 + + (value of pd_log_write_buff_count + A) + C + Add this when the pd_max_reflect_process_count operand is specified. 128 + 704 A: 16 B: Number of pdlogadfg -d sys operands specified C: 0 |
| Synchronization point dump server | + + 416 |
| Common to all units | a + b + 64 + (m + 3) + (value of pd_max_server_process + 100) + (value of pd_max_server_process + 100 + 384) + (value of pd_max_server_process + 127)
|
| Transaction log server |
+ E + (48 + 8)
|
| Status server | |
| Security audit | A: 560 if the pd_aud_file_name operand is omitted 456 + (304 B: 0 if the pd_aud_async_buff_size operand value is 0 The following value if the pd_aud_async_buff_size operand value is 4096 or greater: For Linux: (160 +{( For a system other than Linux: (160 +{( |
The size of the memory required for the unit controller from startup to termination of a HiRDB/Single Server is the sum of the process items listed as follows:
| Process item | Shared memory calculation formula (bytes) |
|---|---|
| Scheduler |
|
| Lock server |
c: When pd_lck_hash_entry is omitted or 0 is specified: ( + value of pd_lck_pool_size When 2 or a greater non-prime number is specified for pd_lck_hash_entry: ( When 1 or a prime number is specified for pd_lck_hash_entry: ( d: ((p + 3) value of pd_lck_pool_size g: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) When value of pd_utl_exec_mode = 0 or p ((p + 3) i: When value of pd_utl_exec_mode = 1 and p > 32: ((value of pd_lck_pool_size + + (p + 3) rounded up to the next even value When value of pd_utl_exec_mode = 0 or p ((value of pd_lck_pool_size + + (p + 3) rounded up to the next even value n: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) When value of pd_utl_exec_mode = 0 or p ((p + 3) p: value of pd_max_users + value of pd_max_reflect_process_count t: When value of pd_utl_exec_mode = 1 and p > 32: 32 + ((p + 3) When value of pd_utl_exec_mode = 0 or p 32 + ((p + 3) u: When value of pd_utl_exec_mode = 1 and p > 32: 32 + ((value of pd_lck_pool_size + + (p + 3) rounded up to the next even value When value of pd_utl_exec_mode = 0 or p 32 + ((value of pd_lck_pool_size + + (p + 3) rounded up to the next even value
|
| Transaction manager | 304 + 32 + 192 m 2 + 1048 + (416 + 688 + 256 + 392 2 + 128) (m 2 + 7) + 256 2
|
| Timer server |
Number of utility servers in unit is 26 + |
| Statistics log server | 424 + 128 + value of pd_stj_buff_size |
| Process server | 176 + 528 a: For a single server: 112. For a utility special unit: 100. |
| System manager | 544 + 40 672 + (48 + 8) a: Number of single server definitions b: Number of single servers in unit c: Number of units d: Number of -c options specified in pdunit operand e: Number of pdcltgrp operands specified f: 2056 + 128 g: For a single server: 91. For a utility special unit: 74. |
| Name server | 169984 |
| Node manager | + 96 total number of servers in HiRDB system + 2048 + 960 + 72 number of HiRDB servers in the unit + 240 A + 44 A + 28 A + 16 B + 48)
|
| I/O server |
|
| Log server | 32 + 48 + 128 19 + 432 + 128 7 + 1168 + 512 + + 64 + 4096 2 + (256 + 480) B + 144 value of pd_log_write_buff_count + (value of pd_log_write_buff_count + A) + C + Add this when the pd_max_reflect_process_count operand is specified. 128 + 704 A: 16 B: Number of pdlogadfg -d sys operands specified C: 0 |
| Synchronization point dump server | + + 416 |
| Common to all units | a + b + 80 + (m + 3) + (value of pd_max_server_process + 100) + (value of pd_max_server_process + 100 + 384) + (value of pd_max_server_process + 127) a: 35968 b: 3480 c: 2760 d: 48 e: 80 + 96 + MAX (5, ( f: 512 g: {(128 + value of pd_lck_until_disconnect_cnt h: If pd_registered_port is omitted: 0
|
| Transaction log server |
A: 2 B: 7 + (value of pd_max_users + value of pd_max_reflect_process_count) C: 1
G: 64 |
| Status server | |
| Security audit | A: 624 if the pd_aud_file_name operand is omitted 520 + (320 B: 0 if the pd_aud_async_buff_size operand value is 0 The following value if the pd_aud_async_buff_size operand value is 4096 or greater: (176 +{( |
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.