Nonstop Database, HiRDB Version 9 Installation and Design Guide
The size of the memory required for the unit controller from startup to termination of a HiRDB single server configuration 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: ( + 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) 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: (( + p rounded up to the next even value When value of pd_utl_exec_mode = 0 or p (( + 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: 48 + ((p + 3) When value of pd_utl_exec_mode = 0 or p 48 + ((p + 3) u: When value of pd_utl_exec_mode = 1 and p > 32: 48 + (( + p rounded up to the next even value When value of pd_utl_exec_mode = 0 or p 48 + (( + 32 rounded up to the next even value
|
| Transaction server | 288 + 32 + 192 + (420 + 564 + 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 | 192 + 512 a: For a single server: 131 For a utility special unit: 106 b: If the operand pd_module_trace_max is specified in the system common definition or the unit control information definition: value of pd_module_trace_max If not: 16,383 |
| Single server | 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: 2,052 + 128 g: For a single server: 92. For a utility special unit: 74. 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 + + (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 + (value of pd_max_server_process + (value of pd_max_server_process + 127 + r)
Otherwise, 0
|
| Transaction log server |
+ E + (48 + 8)
otherwise, it is the value of pd_log_rollback_buff_count For a utility special unit, 0
|
| Status server | |
| Audit trail management server | A: 640 if the pd_aud_file_name operand is omitted 640 + (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 4,096 or greater: For Linux: (160 + {( For a system other than Linux: (160 + {( 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 |
The size of the memory required for the unit controller from startup to termination of a HiRDB single server configuration 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: ( + 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) 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: (( + + (p + 3) rounded up to the next even value When value of pd_utl_exec_mode = 0 or p (( + + (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: 48 + ((p + 3) When value of pd_utl_exec_mode = 0 or p 48 + ((p + 3) u: When value of pd_utl_exec_mode = 1 and p > 32: 48 + (( + + (p + 3) rounded up to the next even value When value of pd_utl_exec_mode = 0 or p 48 + (( + + (p + 3) rounded up to the next even value
|
| Transaction server | 304 + 32 + 192 + (416 + 720 + 256 + 392
|
| Timer server |
Number of utility servers in unit is 26 + |
| Statistics log server | 424 + 128 + value of pd_stj_buff_size |
| Process server | 208 + 528 a: For a single server: 131 For a utility special unit: 106 b: If the operand pd_module_trace_max is specified in the system common definition or the unit control information definition: value of pd_module_trace_max If not: 16,383 |
| Single server | 736 + (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: 2,056 + 128 g: For a single server: 92. For a utility special unit: 74. 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 + 72
|
| I/O server |
|
| Log server | 32 + 48 + 128 + + 64 + 4,096 + 144 + (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 + (value of pd_max_server_process + (value of pd_max_server_process + 127 + r) a: 34,656 + p b: 3,480 c: 2,760 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 i: If k is 2 or more, 32 + (8 + 8 Otherwise, 0 k: Value of pd_lck_pool_partition m: Value of pd_max_users + value of pd_max_reflect_process_count n: (m + 3) p: If Y is specified for pd_dbbuff_modify: 512 + value of pd_max_add_dbbuff_shm_no + value of pd_max_resident_rdarea_shm_no Otherwise: 512 + value of pd_max_resident_rdarea_shm_no q: HP-UX (IPF) 64-bit mode: 256 Otherwise: 144 r: When the value of pd_utl_exec_mode is set to 1 and m > 32: (m + 3) When the value of pd_utl_exec_mode set to 0 or m |
| Transaction log server |
A: 2 B: 7 + (value of pd_max_users + value of pd_max_reflect_process_count) C: 1 D: For a 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 For a utility special unit, 0 E: 0 G: 64 |
| Status server | |
| Audit trail management server | A: 704 if the pd_aud_file_name operand is omitted 704 + (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 4,096 or greater: For Linux version: (176 + {( For non-Linux versions: (176 + {( 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 |
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.