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 | (320+ 48 + c + d + 48 + 4,096 + g + 48 + i + 48 + 4,096 + 48 + n + t + u + 16) x value of pd_lck_pool_partition c: When pd_lck_hash_entry is omitted or 0 is specified: ( ![]() ![]() + ![]() ![]() ![]() ![]() ![]() ![]() ![]() When 2 or a greater non-prime number is specified for pd_lck_hash_entry: ( ![]() ![]() ![]() x 16 When 1 or a prime number is specified for pd_lck_hash_entry: ( ![]() ![]() ![]() d: ((p + 3) x (value of pd_max_access_tables + 4 + 5 x 2) + ![]() ![]() ![]() g: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) x 3 + p) x 256 When value of pd_utl_exec_mode = 0 or p ![]() ((p + 3) x 3 + 32) x 256 i: When value of pd_utl_exec_mode = 1 and p > 32: (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + p x (value of pd_max_rdarea_no + 1) + (p + 3) x 2 x 2 x 5) rounded up to the next even value x 64 When value of pd_utl_exec_mode = 0 or p ![]() (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + 32 x (value of pd_max_rdarea_no + 1) + (p + 3) x 2 x 2 x 5) rounded up to the next even value x 64 n: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) x 3 + p) x 48 When value of pd_utl_exec_mode = 0 or p ![]() ((p + 3) x 3 + 32) x 48 p: value of pd_max_users t: When value of pd_utl_exec_mode = 1 and p > 32: 48 + ((p + 3) x 3 + p) x ![]() ![]() ![]() When value of pd_utl_exec_mode = 0 or p ![]() 48 + ((p + 3) x 3 + 32) x ![]() ![]() ![]() u: When value of pd_utl_exec_mode = 1 and p > 32: 48 + (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + p x (value of pd_max_rdarea_no + 1) + (p + 3) x 2 x 2 x 5) rounded up to the next even value x ![]() ![]() ![]() When value of pd_utl_exec_mode = 0 or p ![]() 48 + (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + 32 x (value of pd_max_rdarea_no + 1) + (p + 3) x 2 x 2 x 5) rounded up to the next even value x ![]() ![]() ![]() |
Transaction server | 288 + 32 + 192 x m x 2 + 1,028 + (420 + 564 + 256 + 384 x 2 + 128) x m x 2 + 7) + 256 x 2
|
Timer server |
Number of utility servers in unit is 26 + 12 |
Statistics log server | 384 + 128 x 16 + 32 + 288 x 2 + 1,024 + 128 x 3 + value of pd_stj_buff_size x 1,024 x 3 + 64 + 4,096 + 8,192 |
Process server | 160 + 512 x a + 80 + 256 + (value of pd_max_server_process + 50) x (256 + 144) + 16 + 8 x 16 + 16 + 16 + 48 + 48 x (value of pd_module_trace_max + 1) a: For a single server: 126 |
Single Server | 640 + (44 + 4) x a x 2 + (100 + 4) x (b + 30 + 2) + (100 + 4) x (c + 1) + 40 x b x 14 + 256 + 256 + 36 x d + 12 x e + 8 + 5,844 + 212 + f + 16 + 1,024 + 272 x h 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: 2,052 + 128 x (g + 3) g: For a single server: 92 h: Number of IP addresses for hosts specified in the pd_security_host_group operand If the pd_security_host_group operand is not specified, 0 |
Name server | 169,984 |
Node manager | ![]() ![]() ![]()
|
I/O server | ![]() ![]() ![]() ![]() ![]() ![]()
|
Log server | 32 + 48 + 128 x 19 + 384 + 128 x 7 + 1,024 + 512 + ![]() ![]() ![]() x value of pd_log_rec_leng + 64 + 4,096 x 2 + (736 + 512) x B + 128 x value of pd_log_write_buff_count + (value of pd_log_write_buff_count + A) x ![]() ![]() ![]() + C + ![]() ![]() ![]() A: 16 B: Number of pdlogadfg -d sys operands specified C: 512 |
Synchronization point dump server | ![]() ![]() ![]() + ![]() + 416 x (number of pdlogadpf -d spd operands specified) + 1,023} ![]() ![]() |
Common to all units | a + b + 64 + (m + 3) x c + 64 + 48 + d + e + (value of pd_max_server_process x 2 + 100) x (64 + 16) + 32 + (value of pd_max_server_process x 2 + 100 + 384) x 40 + f + g + h + (value of pd_max_server_process + 127) x 32 + 32
Otherwise, 0
![]() ![]() ![]() p: When Y is specified in pd_dbbuff_modify: value of pd_max_dbbuff_shm_no + value of pd_max_add_dbbuff_shm_no Otherwise, value of pd_max_dbbuff_shm_no |
Transaction log server |
+ E + (48 + 8) x (B x 2 + 2)
otherwise, it is the value of pd_log_rollback_buff_count
|
Status server | ![]() ![]() ![]() |
Audit trail management server | ![]() ![]() ![]() A: 640 if the pd_aud_file_name operand is omitted 640 + (304 x 200) + B + C if the pd_aud_file_name operand is specified 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 4,096 or greater: (160 x value of pd_aud_async_buff_count operand) + {( ![]() ![]() ![]() x value of pd_aud_async_buff_count operand} + 4,096 C: If N is specified for the pd_aud_auto_loading operand, 0 If Y is specified for the pd_aud_auto_loading operand, 256 x 2 + 240 |
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 | (496 + 80 + c + d + 64 + 8,192 + g + 80 + i + 64 + 8,192 + 64 + n + t + u + 16) x value of pd_lck_pool_partition c: When pd_lck_hash_entry is omitted or 0 is specified: ( ![]() ![]() + ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() When 2 or a greater non-prime number is specified for pd_lck_hash_entry: ( ![]() ![]() ![]() x 16 When 1 or a prime number is specified for pd_lck_hash_entry: ( ![]() ![]() ![]() d: ((p + 3) x (value of pd_max_access_tables + 4 + 5 x 2) + ![]() ![]() ![]() g: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) x 3 + p) x 320 When value of pd_utl_exec_mode = 0 or p ![]() ((p + 3) x 3 + 32) x 320 i: When value of pd_utl_exec_mode = 1 and p > 32: (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + ![]() ![]() ![]() ![]() ![]() ![]() + (p + 3) x 2 x 2 x 5) rounded up to the next even value x 112 When value of pd_utl_exec_mode = 0 or p ![]() (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + ![]() ![]() ![]() ![]() ![]() ![]() + (p + 3) x 2 x 2 x 5) rounded up to the next even value x 112 n: When value of pd_utl_exec_mode = 1 and p > 32: ((p + 3) x 3 + p) x 80 When value of pd_utl_exec_mode = 0 or p ![]() ((p + 3) x 3 + 32) x 80 p: value of pd_max_users t: When value of pd_utl_exec_mode = 1 and p > 32: 48 + ((p + 3) x 3 + p) x ![]() ![]() ![]() When value of pd_utl_exec_mode = 0 or p ![]() 48 + ((p + 3) x 3 + 32) x ![]() ![]() ![]() u: When value of pd_utl_exec_mode = 1 and p > 32: 48 + (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + ![]() ![]() ![]() ![]() ![]() ![]() + (p + 3) x 2 x 2 x 5) rounded up to the next even value x ![]() ![]() ![]() When value of pd_utl_exec_mode = 0 or p ![]() 48 + (( ![]() ![]() ![]() x (value of pd_max_access_tables + 4)) x 2) + ![]() ![]() ![]() ![]() ![]() ![]() + (p + 3) x 2 x 2 x 5) rounded up to the next even value x ![]() ![]() ![]() , |
Transaction server | 304 + 32 + 192 m 2 + 1,048 + (416 + 720 + 256 + 392 2 + 128) (m 2 + 7) + 256 2
|
Timer server |
Number of utility servers in unit is 26 + 12 |
Statistics log server | 424 + 128 x 16 + 32 + 288 x 2 + 1,168 + 144 x 3 + value of pd_stj_buff_size x 1,024 x 3 + 64 + 4,096 + 8,192 |
Process server | 176 + 528 x a + 80 + 256 + (value of pd_max_server_process + 50) x (256 + 160) + 16 + 8 x 16 + 16 + 16 + 64 + 64 x (value of pd_module_trace_max + 1) a: For a single server: 127 |
Single Server | 736 + (48 + 8) x a x 2 + (112 + 8) x (b + 30 + 2) + (104 + 8) x (c + 1) + 40 x b x 14 + 256 + 256 + 40 x d + 16 x e + 8 + 5,864 + 236 + f + 16 + 1,024 + 272 x h 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: 2,056 + 128 x (g + 3) g: For a single server: 92 h: Number of IP addresses for the host specified in the pd_security_host_group operand If the pd_security_host_group operand is not specified, 0 |
Name server | 169,984 |
Node manager | ![]() + 96 total number of servers in HiRDB system + 10,240 + 1,200 + 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 + 1,168 + 512 + ![]() ![]() ![]() + 64 + 4,096 2 + (768 + 512) B + 144 value of pd_log_write_buff_count + (value of pd_log_write_buff_count + A) ![]() ![]() ![]() + C + ![]() ![]() ![]() A: 16 B: Number of pdlogadfg -d sys operands specified C: 512 |
Synchronization point dump server | ![]() ![]() ![]() + ![]() + 416 x (number of pdlogadpf -d spd operands specified) + 1,023} ![]() ![]() |
Common to all units | a + b + 80 + (m + 3) x c + 64 + 48 + d + e + (value of pd_max_server_process x 2 + 100) x (76 + 16) + 32 + (value of pd_max_server_process x 2 + 100 + 384) x 40 + 32 + f + g + h + i + (value of pd_max_server_process + 127) x 48 + 32 a: 34,736 + p x 4 b: 3,480 c: 2,760 d: 48 x 32 e: 80 + 96 x {(m + 3) x 2 + MAX (5, ( ![]() ![]() ![]() f: 512 x (13 + 3) x 2 g: {(128 + value of pd_lck_until_disconnect_cnt x 112 + 4,095) ![]() h: ![]() ![]() ![]() If pd_registered_port is omitted: 0 i: If k is 2 or more, 32 + (8 + 8 x k) x n Otherwise, 0 k: Value of pd_lck_pool_partition m: Value of pd_max_users n: (m + 3) x 2 + MAX{5, ![]() ![]() ![]() p: If Y is specified for pd_dbbuff_modify: 16 + value of pd_max_add_dbbuff_shm_no + value of pd_max_resident_rdarea_shm_no Otherwise: 16 + value of pd_max_resident_rdarea_shm_no |
Transaction log server |
A: 2 B: 7 + value of pd_max_users x 2 C: 1 D: For Single Server, if the value of pd_log_rollback_buff_count is 0, D is 8; otherwise, it is the value of pd_log_rollback_buff_count E: 512 G: 512 |
Status server | ![]() ![]() ![]() |
Audit trail management server | ![]() ![]() ![]() A: 704 if the pd_aud_file_name operand is omitted 704 + (320 x 200) + B + C if the pd_aud_file_name operand is specified 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 4,096 or greater: (176 x value of pd_aud_async_buff_count operand) + {( ![]() ![]() ![]() x value of pd_aud_async_buff_count operand} + 4,096 C: If N is specified for the pd_aud_auto_loading operand, 0 If Y is specified for the pd_aud_auto_loading operand, 256 x 2 + 256 |